{"answers":{"affected":"2 open source packages ship an affected version, including github.com/bytebase/bytebase.","exploited":"There is no known exploitation of CVE-2022-51026 in the wild and no public exploit code.","fix":"Upgrade github.com/bytebase/bytebase to 1.0.1 or later.","what":"CVE-2022-51026 is a critical vulnerability in bytebase, published on 22 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2022-51026 and fix it if it is affected.\n\nWhat it is: CVE-2022-51026 is a critical vulnerability in bytebase, published on 22 Oct 2026. \nExploitation: There is no known exploitation of CVE-2022-51026 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/bytebase/bytebase (Go): affected all versions; fixed in 1.0.1\n- github.com/bytebase/bytebase (Go): affected all versions; fixed in 1.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-51026/ (Markdown: https://insights.sbomify.com/CVE-2022-51026/index.md)","id":"CVE-2022-51026","markdown":"https://insights.sbomify.com/CVE-2022-51026/index.md","name":"CVE-2022-51026","record":{"aliases":["GHSA-5r3p-6rj5-7937","GHSA-ffpw-wpwq-rh9j"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login","id":"CVE-2022-51026","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2022"},"n_packages":2,"n_references":7,"next":{"headline":"Cortex XDR Agent: Cleartext Exposure of Agent Admin Password","id":"CVE-2023-0001"},"packages":[{"ecosystem":"Go","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/bytebase/bytebase","purl":null,"source":"GHSA-5r3p-6rj5-7937"},{"ecosystem":"Go","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/bytebase/bytebase","purl":"pkg:golang/github.com/bytebase/bytebase","source":"GHSA-5r3p-6rj5-7937"}],"prev":{"headline":"Penta Security WAPPLES 4.0.54.1 / 5.0 / 6.0 Path Traversal via /webapi/file/transfer","id":"CVE-2022-51025"},"products":["bytebase"],"published":"2026-10-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["bytebase"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-51026/"}