CVE-2022-51026 PUBLISHED

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

Assigner: VulnCheck
Reserved: 22.10.2026 Published: 22.10.2026 Updated: 22.10.2026

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.

Metrics

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
CVSS Score: 9.3

Product Status

Vendor bytebase
Product bytebase
Versions Default: unaffected
  • affected from 0.12.0 to 1.0.1 (excl.)
  • Version 1.0.1 is unaffected

Credits

  • leediay153 from Viettel Post reporter

References

Problem Types

  • Authentication Bypass by Spoofing CWE