9.3critical
Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.72% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-5r3p-6rj5-7937
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bytebase bytebase | from 0.12.0 before 1.0.1 Not affected: 1.0.1 | CVE List |
| github.com/bytebase/bytebase (Go) | before 1.0.1 | GitHub Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | 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 |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
- GitLab login allows login by any user.
- JWT auth token can be derived as long as the server isn't rebooted.
- Developers can assign issues to non-admin/DBA users.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-51026 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5r3p-6rj5-7937 changed 2026-10-23 | CC-BY-4.0 |
| NVD | CVE-2022-51026 changed 2026-10-29 | Public domain |