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

Published Oct 22, 2026
·
Updated

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/GITLABSELFHOST 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.

Affected Software

1 affected component
Bytebase Bytebase>=0.12.0<1.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Bytebase to a version that resolves this vulnerability.

    Fixed in 1.0.1

Event History

Oct 22, 2026
CVE Published
via MITRE·07:13 PM
Data Sourced
via MITRE·07:13 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Bytebase versions from 0.12.0 before 1.0.1 are affected. The vulnerable login path is POST /api/auth/login/GITLAB_SELF_HOST.

2

What does an attacker need to exploit this issue?

An attacker does not need credentials or prior access. They can supply a GitLab instanceUrl pointing to a server they control and make it report an active user with an email address they choose.

3

What level of access could an attacker obtain?

The attacker can receive session tokens for an existing Bytebase user matching the chosen email address, including an Owner. They can also create new members.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203