{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ory/oathkeeper. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-33495 in the wild and no public exploit code.","fix":"Upgrade github.com/ory/oathkeeper to 0.40.10-0.20260320084810-e9acca14a04d or later.","what":"CVE-2026-33495 is a medium-severity authentication bypass vulnerability in ory oathkeeper, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33495 and fix it if it is affected.\n\nWhat it is: CVE-2026-33495 is a medium-severity authentication bypass vulnerability in ory oathkeeper, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-33495 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ory/oathkeeper (Go): affected all versions; fixed in 0.40.10-0.20260320084810-e9acca14a04d\n- github.com/ory/oathkeeper (Go): affected all versions; fixed in 0.40.10-0.20260320084810-e9acca14a04d\n- github.com/ory/oathkeeper (Go): affected all versions; fixed in 0.40.10-0.20260320084810-e9acca14a04d\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-33495/ (Markdown: https://insights.sbomify.com/CVE-2026-33495/index.md)","id":"CVE-2026-33495","markdown":"https://insights.sbomify.com/CVE-2026-33495/index.md","name":"CVE-2026-33495","record":{"aliases":["GHSA-vhr5-ggp3-qq85","GO-2026-4810"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Identity Access Proxy","requires_auth":"none","summary":"Attackers can bypass authentication rules by spoofing the X-Forwarded-Proto header when specific HTTP/HTTPS rule distinctions exist.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"oathkeeper","vendor":"ory"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"ORY Oathkeeper is an Identity \u0026 Access Proxy (IAP) and Access Control Decision API that authorizes HTTP requests based on sets of Access Rules. Ory Oathkeeper is often deployed behind other components like CDNs, WAFs, or reverse proxies. Depending on the setup, another component might forward the request to the Oathkeeper proxy with a different protocol (http vs. https) than the original request. In order to properly match the request against the configured rules, Oathkeeper considers the `X-Forwarded-Proto`  header when evaluating rules. The configuration option `serve.proxy.trust_forwarded_headers` (defaults to false) governs whether this and other `X-Forwarded-*` headers should be trusted. Prior to version 26.2.0, Oathkeeper did not properly respect this configuration, and would always consider the `X-Forwarded-Proto`  header. In order for an attacker to abuse this, an installation of Ory Oathkeeper needs to have distinct rules for HTTP and HTTPS requests. Also, the attacker needs to be able to trigger one but not the other rule. In this scenario, the attacker can send the same request but with the `X-Forwarded-Proto`  header in order to trigger the other rule. We do not expect many configurations to meet these preconditions. Version 26.2.0 contains a patch. Ory Oathkeeper will correctly respect the `serve.proxy.trust_forwarded_headers` configuration going forward, thereby eliminating the attack scenario. We recommend upgrading to a fixed version even if the preconditions are not met. As an additional mitigation, it is generally recommended to drop any unexpected headers as early as possible when a request is handled, e.g. in the WAF.","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":true,"headline":"Ory Oathkeeper has an authentication bypass by usage of untrusted header","id":"CVE-2026-33495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Ory Oathkeeper has an authentication bypass by cache key confusion","id":"CVE-2026-33496"},"packages":[{"ecosystem":"Go","fixed":["0.40.10-0.20260320084810-e9acca14a04d"],"introduced":["0"],"last_affected":[],"package":"github.com/ory/oathkeeper","purl":null,"source":"GHSA-vhr5-ggp3-qq85"},{"ecosystem":"Go","fixed":["0.40.10-0.20260320084810-e9acca14a04d"],"introduced":["0"],"last_affected":[],"package":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","source":"GHSA-vhr5-ggp3-qq85"},{"ecosystem":"Go","fixed":["0.40.10-0.20260320084810-e9acca14a04d"],"introduced":["0"],"last_affected":[],"package":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","source":"GO-2026-4810"}],"prev":{"headline":"Ory Oathkeeper has a path traversal authorization bypass","id":"CVE-2026-33494"},"products":["oathkeeper"],"published":"2026-03-26","related":[{"cvss_score":10,"headline":"Ory Oathkeeper has a path traversal authorization bypass","id":"CVE-2026-33494","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.1,"headline":"Ory Oathkeeper has an authentication bypass by cache key confusion","id":"CVE-2026-33496","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":7.5,"headline":"Possible bypass of token claim validation when OAuth2 Introspection caching is enabled","id":"CVE-2021-32701","kev_date_added":null,"published":"2021-06-22"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-03-26","vendors":["ory"]},"summary":"Attackers can bypass authentication rules by spoofing the X-Forwarded-Proto header when specific HTTP/HTTPS rule distinctions exist.","url":"https://insights.sbomify.com/CVE-2026-33495/"}