Authentication bypass in Bytebase GitLab self-hosted login
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-290.
Summary
Bytebase 0.12.0 before 1.0.1 contains an authentication bypass in the GitLab self-hosted login endpoint. The server trusts a client-supplied GitLab instance URL, so an unauthenticated remote attacker can log in as any user, including the Owner, or create new members. CWE-290 describes this spoofing flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Bytebase to version 1.0.1 or later, which fixes this issue in the affected range 0.12.0 before 1.0.1.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA bytebase (bytebase) Fixed in 1.0.1
Timeline
- 2026-10-22 Threatist record created from CVE-2022-51026
- 2026-10-22 Alias added: GHSA-ffpw-wpwq-rh9j
- 2026-10-29 CISA SSVC decision points changed
References
Patch 2
More bytebase vulnerabilities
- TI-2026-44186 DBHub HTTP transport DNS rebinding allows unauthenticated browser-origin SQL execution CVSS 4.0CRITICAL 9.3
- TI-2026-44228 @bytebase/dbhub's read-only mode does not prevent database writes CVSS 3.1HIGH 7.4
- TI-2026-83204 Read-only bypass in DBHub MySQL and MariaDB connectors via comments CVSS 4.0MEDIUM 6.1
- TI-2022-13896 bytebase - Improper Authorization CVSS 3.1MEDIUM 4.3
- TI-2022-13895 bytebase - Improper Authorization CVSS 3.1MEDIUM 4.3
- TI-2026-79259 Authorization bypass in Bytebase exposes other projects' task runs CVSS 4.0MEDIUM 5.3
Sources
- CVE-2022-51026 · CVE Program
- CVE-2022-51026 · NVD
- FIRST EPSS
- GHSA-ffpw-wpwq-rh9j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences