{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-22797 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-22797 is a critical authentication bypass vulnerability in OpenStack keystonemiddleware, published on 19 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-22797 and fix it if it is affected.\n\nWhat it is: CVE-2026-22797 is a critical authentication bypass vulnerability in OpenStack keystonemiddleware, published on 19 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-22797 in the wild and no public exploit code.\n\nAffected product: OpenStack keystonemiddleware. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2026-22797/ (Markdown: https://insights.sbomify.com/CVE-2026-22797/index.md)","id":"CVE-2026-22797","markdown":"https://insights.sbomify.com/CVE-2026-22797/index.md","name":"CVE-2026-22797","record":{"aliases":["DEBIAN-CVE-2026-22797","DSA-6104-1","GHSA-4428-9rh9-r27g","UBUNTU-CVE-2026-22797","USN-8008-1","openSUSE-SU-2026:10070-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenStack auth middleware","requires_auth":"low_privilege","summary":"Authenticated attackers can escalate privileges or impersonate users by sending forged identity headers in OpenStack keystonemiddleware deployments using external_oauth2_token.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"An issue was discovered in OpenStack keystonemiddleware 10.5 through 10.7 before 10.7.2, 10.8 and 10.9 before 10.9.1, and 10.10 through 10.12 before 10.12.1. The external_oauth2_token middleware fails to sanitize incoming authentication headers before processing OAuth 2.0 tokens. By sending forged identity headers such as X-Is-Admin-Project, X-Roles, or X-User-Id, an authenticated attacker may escalate privileges or impersonate other users. All deployments using the external_oauth2_token middleware are affected.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Auth bypass in keystonemiddleware","id":"CVE-2026-22797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":1,"n_references":2,"next":{"headline":"hermes's raw options logging may disclose secrets passed in via subcommand options argument","id":"CVE-2026-22798"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["10.12.0-2.1"],"introduced":["0"],"last_affected":[],"package":"python-keystonemiddleware","purl":"pkg:rpm/opensuse/python-keystonemiddleware\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10070-1"}],"prev":{"headline":"ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function","id":"CVE-2026-22796"},"products":["keystonemiddleware"],"published":"2026-01-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["OpenStack"]},"summary":"Authenticated attackers can escalate privileges or impersonate users by sending forged identity headers in OpenStack keystonemiddleware deployments using external_oauth2_token.","url":"https://insights.sbomify.com/CVE-2026-22797/"}