{"cve":"CVE-2026-33495","nvd":{"published":"2026-03-26T18:16:30.560","modified":"2026-06-17T10:37:35.927","status":"Analyzed","description":"ORY Oathkeeper is an Identity & 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5},"cwes":["CWE-862"],"references":["https://github.com/ory/oathkeeper/commit/e9acca14a04d246250557550065e4b4576525bd5","https://github.com/ory/oathkeeper/security/advisories/GHSA-vhr5-ggp3-qq85"],"products":["ory:oathkeeper"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33495","score":0.00243,"percentile":0.155,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vhr5-ggp3-qq85","url":"https://osv.dev/vulnerability/GHSA-vhr5-ggp3-qq85","summary":"Ory Oathkeeper has an authentication bypass by usage of untrusted header","modified":"2026-03-27T21:18:53.147613Z","packages":[{"ecosystem":"Go","name":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","ranges":["<0.40.10-0.20260320084810-e9acca14a04d"],"fixed":["0.40.10-0.20260320084810-e9acca14a04d"]}]},{"id":"GO-2026-4810","url":"https://osv.dev/vulnerability/GO-2026-4810","summary":"Ory Oathkeeper has an authentication bypass by usage of untrusted header in github.com/ory/oathkeeper","modified":"2026-03-23T18:45:23.466166Z","packages":[{"ecosystem":"Go","name":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","ranges":["<0.40.10-0.20260320084810-e9acca14a04d"],"fixed":["0.40.10-0.20260320084810-e9acca14a04d"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}