CVE-2022-51026bytebase
Authentication bypass in Bytebase via GitLab provider configuration
Critical 9.3 No auth needed
Follow: this CVE · bytebase · bytebase We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Oct 22, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-290
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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
What happens
Bytebase versions 0.12.0 to 1.0.0 contains an authentication bypass vulnerability in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. An unauthenticated attacker can supply a malicious GitLab provider configuration to impersonate any user, including the Owner, or create new members in the system.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.0.1
Update Bytebase to version 1.0.1 or later to apply the security patch.
- Apply the vendor's security update for bytebase.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/bytebase/bytebase |
< 1.0.1 |
1.0.1 |
go get github.com/bytebase/bytebase@v1.0.1 |
Per OSV / GitHub Advisories (GHSA-5r3p-6rj5-7937). Check the version in your lockfile before upgrading.
Affected products
- bytebase · bytebase
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.