{"id":"CVE-2022-51026","summary":"Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login","details":"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.","aliases":["GHSA-5r3p-6rj5-7937"],"modified":"2026-10-30T02:30:47.336415394Z","published":"2026-10-22T19:13:18.259Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51026.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-290"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51026.json"},{"type":"ADVISORY","url":"https://github.com/bytebase/bytebase/releases/tag/1.0.1"},{"type":"ADVISORY","url":"https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51026"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login"},{"type":"FIX","url":"https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d"},{"type":"FIX","url":"https://github.com/bytebase/bytebase/pull/834"},{"type":"PACKAGE","url":"https://github.com/bytebase/bytebase"},{"type":"ARTICLE","url":"https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytebase/bytebase","events":[{"introduced":"cb5c5e6fd78046da39fc224975c15180fc72a20f"},{"fixed":"b0163131d4c4701fbfced0cdd8150f049cd1adba"},{"fixed":"d69e682243b25b51dd52912a26e2f259b5f3db2d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.12.0"},{"fixed":"1.0.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d69e682243b25b51dd52912a26e2f259b5f3db2d"}]},{"range":[{"fixed":"b0163131d4c4701fbfced0cdd8150f049cd1adba"}],"source":"REFERENCES_TAG","original_tag":"1.0.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51026.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}