CVE-2022-51026
CRITICAL 9.3 ALL-YEARSBytebase 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.
Severe if exploited (CVSS 9.3), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
0.6%chance of exploitation in 30 days · 49th percentile
Impact if exploited
9.3CVSS 4.0 · CRITICAL · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-290: Authentication Bypass by Spoofing
CVSS 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
References and research data (JSON)
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
github.com/bytebase/bytebase Go
pkg:golang/github.com/bytebase/bytebase
SEMVER range- All earlier versions (introduced 0)
- Fixed boundary (excluded): 1.0.1
GitHub Advisory Database · GHSA-5r3p-6rj5-7937 · Updated 2026-10-23T10:55:57.079312361ZAdditional upstream package constraints
{ "database": { "last_known_affected_version_range": "<= 1.0.0", "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5r3p-6rj5-7937/GHSA-5r3p-6rj5-7937.json" } }
All CVSS metrics
- CRITICAL 9.3 v4.0 · CNA Primary
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 - CRITICAL 9.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CRITICAL 9.3 v4.0 · NVD Secondary
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 - CRITICAL 9.8 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660 - https://github.com/bytebase/bytebase/pull/834 CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660 - https://github.com/bytebase/bytebase/releases/tag/1.0.1 CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660
Advisories
- https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937 CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660
GitHub Advisory Database · GHSA-5r3p-6rj5-7937
GitHub Advisory Database · GHSA-5r3p-6rj5-7937 · Updated 2026-10-23T10:55:57.079312361Z - https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660 - https://osv.dev/vulnerability/GHSA-5r3p-6rj5-7937 GitHub Advisory Database · GHSA-5r3p-6rj5-7937
GitHub Advisory Database · GHSA-5r3p-6rj5-7937 · Updated 2026-10-23T10:55:57.079312361Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-56076 EUVD · EUVD-2022-56076
Technical & other
- https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93 CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660 - https://github.com/bytebase/bytebase CVE record · VulnCheck · Updated 2026-10-22T19:13:18.259Z
NVD · CVE-2022-51026 · Updated 2026-10-23T19:57:42.660
GitHub Advisory Database · GHSA-5r3p-6rj5-7937
GitHub Advisory Database · GHSA-5r3p-6rj5-7937 · Updated 2026-10-23T10:55:57.079312361Z - https://github.com/bytebase/bytebase/commit/a578ed58e478ba5c2dadf8d538ec5c3d39c28461 GitHub Advisory Database · GHSA-5r3p-6rj5-7937
GitHub Advisory Database · GHSA-5r3p-6rj5-7937 · Updated 2026-10-23T10:55:57.079312361Z
Sources: NVD · CVE.org · All sources and attribution · EPSS