# CVE-2022-51026: Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-03-02T17:32:24.000Z
- Modified: 2026-10-29T04:18:19.897Z
- Also known as: GHSA-5r3p-6rj5-7937
- Weaknesses: CWE-287, CWE-290
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- bytebase bytebase: from 0.12.0 before 1.0.1 (not affected: 1.0.1)
- github.com/bytebase/bytebase (Go): before 1.0.1

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937> (vendor-advisory, web)
- <https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d> (patch)
- <https://github.com/bytebase/bytebase/pull/834> (issue-tracking, patch)
- <https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93> (technical-description)
- <https://github.com/bytebase/bytebase/releases/tag/1.0.1> (release-notes)
- <https://github.com/bytebase/bytebase> (package, product)
- <https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login> (third-party-advisory)
- <https://github.com/bytebase/bytebase/commit/a578ed58e478ba5c2dadf8d538ec5c3d39c28461> (web)

## Sources

- CVE List: [CVE-2022-51026](https://www.cve.org/CVERecord?id=CVE-2022-51026), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-5r3p-6rj5-7937](https://github.com/advisories/GHSA-5r3p-6rj5-7937), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2022-51026](https://nvd.nist.gov/vuln/detail/CVE-2022-51026), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2022-51026 · Whole record: https://cve.day/CVE-2022-51026.json · Rebuilt by cve.day 2026-11-25T22:58:21.459Z
