{"id":"CVE-2026-33496","published":"2026-03-26T17:29:41Z","modified":"2026-03-30T11:20:55Z","title":"Ory Oathkeeper has an authentication bypass by cache key confusion","vendor":"ory","product":"oathkeeper","tier":"tail","description":{"text":"ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP requests based on sets of Access Rules. Versions prior to 26.2.0 are  vulnerable to authentication bypass due to cache key confusion. The `oauth2_introspection` authenticator cache does not distinguish tokens that were validated with different introspection URLs. An attacker can therefore legitimately use a token to prime the cache, and subsequently use the same token for rules that use a different introspection server. Ory Oathkeeper has to be configured with multiple `oauth2_introspection` authenticator servers, each accepting different tokens. The authenticators also must be configured to use caching. An attacker has to have a way to gain a valid token for one of the configured introspection servers. Starting in version 26.2.0, Ory Oathkeeper includes the introspection server URL in the cache key, preventing confusion of tokens. Update to the patched version of Ory Oathkeeper. If that is not immediately possible, disable caching for `oauth2_introspection` authenticators.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37115,"provenance":"source"},"cwes":[{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"},{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://github.com/ory/oathkeeper/security/advisories/GHSA-4mq7-pvjg-xp2r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ory/oathkeeper/commit/198a2bc82a99e0a77bd0ffe290cbdd5285a1b17c","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.42},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"ory","affectedVersions":[{"vendor":"ory","product":"oathkeeper","versions":["< 26.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-30T11:19:21.527197Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ory/oathkeeper","vulnerableRanges":["<0.40.10-0.20260320084801-198a2bc82a99"],"patched":["0.40.10-0.20260320084801-198a2bc82a99"],"from":["GHSA-4mq7-pvjg-xp2r","GO-2026-4799"],"provenance":"source"}],"summary":{"text":"Ory Oathkeeper, an Identity & Access Proxy, has an authentication bypass caused by cache key confusion in its oauth2_introspection authenticator, which does not distinguish tokens validated against different introspection URLs. An attacker with network access who holds a valid token for one configured introspection server, and who can use caching-enabled authenticators with multiple introspection servers, can reuse that token to gain access to rules that rely on a different introspection server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:47Z"},"euvd":{"id":"EUVD-2026-16289","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ory-oathkeeper-cve-2021-32701","parents":[{"from":"CVE-2021-32701","to":"CVE-2026-33496","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pipeline/authn/authenticator_oauth2_introspection.go"],"commits":["https://github.com/ory/oathkeeper/commit/1f9f625c1a49e134ae2299ee95b8cf158feec932","https://github.com/ory/oathkeeper/commit/198a2bc82a99e0a77bd0ffe290cbdd5285a1b17c"],"basis":"shared function","functions":["Authenticate"]}]}],"packageHistory":[{"cve":"CVE-2021-32701","published":"2021-06-22","fixed":"0.38.12-beta.1","kev":false},{"cve":"CVE-2026-33494","published":"2026-03-26","fixed":"0.40.10-0.20260320084758-8e0002140491","kev":false,"link":{"from":"CVE-2026-33494","to":"CVE-2026-33496","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/ory/oathkeeper","fromFixed":"0.40.10-0.20260320084758-8e0002140491","toFixed":"0.40.10-0.20260320084801-198a2bc82a99","daysApart":0},{"kind":"similar","provenance":"machine","score":0.38,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-33496","published":"2026-03-26","fixed":"0.40.10-0.20260320084801-198a2bc82a99","kev":false},{"cve":"CVE-2026-33495","published":"2026-03-26","fixed":"0.40.10-0.20260320084810-e9acca14a04d","kev":false,"link":{"from":"CVE-2026-33496","to":"CVE-2026-33495","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/ory/oathkeeper","fromFixed":"0.40.10-0.20260320084801-198a2bc82a99","toFixed":"0.40.10-0.20260320084810-e9acca14a04d","daysApart":0},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + description similarity"}]}}],"package":"Go:github.com/ory/oathkeeper"}}