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

Critical 9.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2022-51026?

CVE-2022-51026 is a critical vulnerability in bytebase, published on 22 Oct 2026.

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

Weakness: CWE-290

Which versions are affected by CVE-2022-51026?

2 open source packages ship an affected version, including github.com/bytebase/bytebase.

PackageAffectedFixed in
github.com/bytebase/bytebase GoAll versions1.0.1
github.com/bytebase/bytebase GoAll versions1.0.1

How do I fix CVE-2022-51026?

Upgrade github.com/bytebase/bytebase to 1.0.1 or later.

Is CVE-2022-51026 being exploited?

There is no known exploitation of CVE-2022-51026 in the wild and no public exploit code.

Sources

Also known as GHSA-5r3p-6rj5-7937, GHSA-ffpw-wpwq-rh9j.

Is CVE-2022-51026 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free