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.
Published: 2026-10-22
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Authentication Bypass
Action: Immediate Patch
AI Analysis

Impact

Bytebase 0.12.0 before 1.0.1 includes an authentication bypass that permits attackers to obtain session tokens for any user. The flaw arises from trusting client‑supplied GitLab provider data at the GITLAB_SELF_HOST login endpoint. By sending a crafted POST request with an instanceUrl pointing to an attacker‑controlled GitLab server that authenticates a chosen email, the server issues tokens for that principal. The attacker can then impersonate owners or create new members, compromising the entire deployment.

Affected Systems

The vulnerability impacts the Bytebase database versioning platform in all releases prior to 1.0.1, including 0.12.0 and 1.0.0. Any deployment using those versions is affected; upgrading to 1.0.1 or later resolves the issue.

Risk and Exploitability

The CVSS score is 9.3, indicating a high severity vulnerability. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The attack can be performed by any unauthenticated actor capable of sending a POST request to /api/auth/login/GITLAB_SELF_HOST and supplying a fabricated instanceUrl. The attacker only needs control of a GitLab server that returns a valid email address; the attack path is straightforward over the network.

Generated by OpenCVE AI on October 23, 2026 at 02:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Bytebase to version 1.0.1 or later to apply the vendor fix.
  • If upgrading is not immediately possible, disable the GitLab Self-Hosted login feature so that clients cannot specify instanceUrl values.
  • On the server side, validate or restrict instanceUrl values so that only trusted GitLab instances are accepted, preventing the bypass of authentication.

Generated by OpenCVE AI on October 23, 2026 at 02:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
First Time appeared Bytebase
Bytebase bytebase
Weaknesses CWE-290
CPEs cpe:2.3:a:bytebase:bytebase:*:*:*:*:*:*:*:*
Vendors & Products Bytebase
Bytebase bytebase
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Bytebase Bytebase
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:18.259Z

Reserved: 2026-10-22T16:14:55.346Z

Link: CVE-2022-51026

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T19:17:30.883

Modified: 2026-10-22T19:17:30.883

Link: CVE-2022-51026

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:15:18Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing