{"id":"CVE-2022-51026","state":"PUBLISHED","title":"Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login","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.","publishedAt":"2026-10-22T19:13:18.259Z","updatedAt":"2026-10-29T02:24:08.646Z","severity":{"score":9.3,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["bytebase bytebase"],"affected":[{"vendor":"bytebase","product":"bytebase","packageURL":"pkg:golang/github.com/bytebase/bytebase","defaultStatus":"unaffected","versions":[{"version":"0.12.0","status":"affected","lessThan":"1.0.1","versionType":"semver"},{"version":"1.0.1","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/bytebase/bytebase"}],"references":["https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937","https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d","https://github.com/bytebase/bytebase/pull/834","https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93","https://github.com/bytebase/bytebase/releases/tag/1.0.1","https://github.com/bytebase/bytebase","https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login"],"weaknesses":["CWE-290"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/51xxx/CVE-2022-51026.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-51026","state":"PUBLISHED","datePublished":"2026-10-22T19:13:18.259Z","dateUpdated":"2026-10-29T02:24:08.646Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-22T16:14:55.346Z"},"containers":{"cna":{"title":"Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bytebase","product":"bytebase","packageURL":"pkg:golang/github.com/bytebase/bytebase","defaultStatus":"unaffected","versions":[{"version":"0.12.0","status":"affected","lessThan":"1.0.1","versionType":"semver"},{"version":"1.0.1","status":"unaffected","versionType":"semver"}],"repo":"https://github.com/bytebase/bytebase"}],"references":[{"url":"https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-5r3p-6rj5-7937)"},{"url":"https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d","tags":["patch"]},{"url":"https://github.com/bytebase/bytebase/pull/834","tags":["patch","issue-tracking"]},{"url":"https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93","tags":["technical-description"]},{"url":"https://github.com/bytebase/bytebase/releases/tag/1.0.1","tags":["release-notes"],"name":"bytebase 1.0.1 Release Notes"},{"url":"https://github.com/bytebase/bytebase","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login","name":"VulnCheck Advisory: Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-290","lang":"en","description":"Authentication Bypass by Spoofing","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-22T19:13:18.259Z"},"datePublic":"2022-03-11T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytebase:bytebase:*:*:*:*:*:*:*:*","versionStartIncluding":"0.12.0","versionEndExcluding":"1.0.1"}]}]}],"credits":[{"lang":"en","value":"leediay153 from Viettel Post","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T02:23:56.225948Z","id":"CVE-2022-51026","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T02:24:08.646Z"}}]}}}