CVE-2022-51026 json
Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
published 2026-03-02 8 mo ago modified 2026-10-29 11 d ago also EUVD-2022-56076 , GHSA-5r3p-6rj5-7937
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
Bytebase 0.12.0 before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. Attackers can set instanceUrl to a server they control that returns an active user with a chosen email. Bytebase then issues session tokens for that principal, letting attackers impersonate existing users including the Owner or create new members.
Patch / fix
- go github.com/bytebase/bytebase 1.0.1
- bytebase bytebase 1.0.1
- github.com/bytebase/bytebase@d69e682 commit
- github.com/bytebase/bytebase@a578ed5 commit
- github.com/bytebase/bytebase#834 pull request
- github.com/bytebase/bytebase/releases/tag/1.0.1 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 11 d ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/bytebase/bytebase | <1.0.1 |
1.0.1 |
Affected products
- bytebase bytebase
Classification
References
-
github.com
/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d
patch
-
github.com
/bytebase/bytebase/pull/834
patch, issue-tracking
-
github.com
/bytebase/bytebase/commit/a578ed58e478ba5c2dadf8d538ec5c3d39c28461
web
-
github.com
/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937
vendor-advisory, web
-
github.com
/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93
technical-description
-
github.com
/bytebase/bytebase/releases/tag/1.0.1
release-notes
-
github.com
/bytebase/bytebase
product, package
-
vulncheck.com
/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login
third-party-advisory
Sources
- CVE List CVE-2022-51026
- GitHub Advisory GHSA-5r3p-6rj5-7937
- NVD CVE-2022-51026
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.