Bytebase: Authentication bypass via GitLab provider configuration (CVE-2022-51026)
Bytebase versions prior to 1.0.1 are vulnerable to an authentication bypass in the GitLab login flow, allowing unauthenticated attackers to impersonate any user, including administrative accounts.
CVE search metadata
CVE search record: CVE-2022-51026. Severity: critical. CVSS: 9.8. KEV: no. Product: Bytebase (< 1.0.1). Brief: Bytebase: Authentication bypass via GitLab provider configuration (CVE-2022-51026). Brief link: https://feed.craftedsignal.io/briefs/2026-10-bytebase-auth-bypass/
Triage facts
Revision 1- Applicability
- Bytebase (< 1.0.1)
- Evidence
- Unknown
- Severity
- Critical
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Oct 22, 22:28 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Bytebase versions prior to 1.0.1 contain an authentication bypass vulnerability (CVE-2022-51026) in the /api/auth/login/GITLAB_SELF_HOST endpoint. The vulnerability exists because the application improperly trusts client-supplied GitLab provider configuration. An attacker can supply a malicious instanceUrl pointing to a server they control, which returns a fabricated active user response. Bytebase uses this response to generate session tokens, enabling the attacker to impersonate arbitrary users or create new accounts with elevated privileges.
Impact
Successful exploitation allows unauthenticated attackers to gain unauthorized access to the Bytebase instance by impersonating existing users, including the Owner role, or by creating new members.
Recommendation
- Upgrade Bytebase to version 1.0.1 or later immediately.
- Review access logs and audit trails for unexpected authentication events or suspicious user creations within Bytebase if the instance was exposed during the vulnerable period.
- Disable GitLab self-hosted authentication providers if they are not actively required for environment workflows.
Immediate actions
Patch Bytebase to version 1.0.1 or later
Threat Hunt
Identify successful POST requests to /api/auth/login/GITLAB_SELF_HOST with unrecognized instanceUrl
Data: Web access logs containing URI and query parameters
Mitigations
Upgrade to 1.0.1
CVE-2022-51026
Detection coverage 1
Detect CVE-2022-51026 Exploitation - Authentication Bypass via GitLab Login
criticalDetects exploitation of CVE-2022-51026 - Attempts to POST to the GitLab self-hosted login endpoint, identifying potential malicious instanceUrl parameters.
Detection queries are available on the platform. Get full rules →