{"schema":"threatline.record/2","record":{"id":"CVE-2022-51026","aliases":["GHSA-5r3p-6rj5-7937"],"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.","categories":["Libraries & packages"],"product":"bytebase","vendor":"bytebase","ecosystem":"Go","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-51026","source_modified_at":"2026-10-22T19:13:18.259Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"bytebase","vendor":"bytebase","versions":[{"lessThan":"1.0.1","status":"affected","version":"0.12.0","versionType":"semver"},{"status":"unaffected","version":"1.0.1","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5r3p-6rj5-7937","source_modified_at":"2026-10-23T10:55:57.079312361Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/bytebase/bytebase","ecosystem":"Go","purl":"pkg:golang/github.com/bytebase/bytebase"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.1"}]}],"versions":[]}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-51026","source_modified_at":"2026-10-22T19:13:18.259Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"bytebase","ecosystem":null},"version":"1.0.1","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5r3p-6rj5-7937","source_modified_at":"2026-10-23T10:55:57.079312361Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"github.com/bytebase/bytebase","ecosystem":"Go","purl":"pkg:golang/github.com/bytebase/bytebase"},"version":"1.0.1"}],"cvss":9.3,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00613,"percentile":0.48722,"score_date":"2026-10-23"},"published_at":"2026-10-22T19:13:18.259Z","modified_at":"2026-10-23T10:55:57.079312361Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-51026","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-22T19:13:18.259Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-5r3p-6rj5-7937","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-23T10:55:57.079312361Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-51026","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/bytebase/bytebase/security/advisories/GHSA-5r3p-6rj5-7937","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://github.com/bytebase/bytebase/commit/d69e682243b25b51dd52912a26e2f259b5f3db2d","tags":["patch"]},{"source":"CVE List","url":"https://github.com/bytebase/bytebase/pull/834","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/bytebase/bytebase/blob/1.0.0/server/auth.go#L79-L93","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/bytebase/bytebase/releases/tag/1.0.1","tags":["release-notes"]},{"source":"CVE List","url":"https://github.com/bytebase/bytebase","tags":["product"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/bytebase-0.12.0-before-1.0.1-authentication-bypass-via-gitlab-self-hosted-login","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T10:55:57.079312361Z","content_hash":"fd0c567ebb3f909a693032fe44fcc4915d1d591588c323e221664a12ea002e99"}}
