CVE-2026-33496: Github.com/ory/oathkeeper Authentication Bypass Vulnerability
HIGHCVE-2026-33496 is a HIGH (CVSS 8.1) authentication bypass vulnerability (CWE-1289: Improper Validation of Unsafe Equivalence in Input) affecting Github.com/ory/oathkeeper libraries in the Go ecosystem. The issue involves ory oathkeeper has an authentication bypass by cache key confusion. Remediation is available by upgrading affected packages to version 0.40.10-0.20260320084801-198a2bc82a99.
CVE-2026-33496 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-33496
To remediate this vulnerability, upgrade all affected Github.com/ory/oathkeeper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/ory/oathkeeper to 0.40.10-0.20260320084801-198a2bc82a99
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/ory/oathkeeper
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-33496, inspect your project dependencies for Github.com/ory/oathkeeper:
inspect dependencies for github.com/ory/oathkeeper
Analyze the terminal output to locate any version of Github.com/ory/oathkeeper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.40.10-0.20260320084801-198a2bc82a99), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1289: Improper Validation of Unsafe Equivalence in Input, where the product receives an input value that is used as a resource identifier or other type of reference, but it does not validate or incorrectly validates that the input is equivalent to a potentially-unsafe value. In Github.com/ory/oathkeeper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-33496 Affected Github.com/ory/oathkeeper Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/ory/oathkeeper
|
Go |
< 0.40.10-0.20260320084801-198a2bc82a99
|
0.40.10-0.20260320084801-198a2bc82a99
|
References
Frequently Asked Questions
What is CVE-2026-33496?
Which Github.com/ory/oathkeeper versions are affected?
What version fixes CVE-2026-33496?
Is github.com/ory/oathkeeper affected?
What is the CVSS score of CVE-2026-33496?
What CWE is associated with CVE-2026-33496?
How can I check Go dependencies for CVE-2026-33496?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4mq7-pvjg-xp2r",
"modified" : "2026-03-27T20:59:10Z",
"published" : "2026-03-20T20:51:07Z",
"aliases" : [ "CVE-2026-33496" ],
"summary" : "Ory Oathkeeper has an authentication bypass by cache key confusion",
"details" : "## Description\n\nOry Oathkeeper is 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.\n\n## Preconditions\n\nOry Oathkeeper has to be configured with multiple `oauth2_introspection` authenticator servers, each accepting different tokens. The authenticators also must be [configured to use caching](https://www.ory.com/docs/oathkeeper/pipeline/authn#oauth2_introspection-configuration). An attacker has to have a way to gain a valid token for one of the configured introspection servers.\n\n## Mitigation\n\nOry Oathkeeper now includes the introspection server URL in the cache key, preventing confusion of tokens.\n\nUpdate to the patched version of Ory Oathkeeper. If that is not immediately possible, disable caching for `oauth2_introspection` authenticators.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/ory/oathkeeper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.40.10-0.20260320084801-198a2bc82a99"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ory/oathkeeper/security/advisories/GHSA-4mq7-pvjg-xp2r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33496"
}, {
"type" : "WEB",
"url" : "https://github.com/ory/oathkeeper/commit/198a2bc82a99e0a77bd0ffe290cbdd5285a1b17c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ory/oathkeeper"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1289", "CWE-305" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-20T20:51:07Z",
"nvd_published_at" : "2026-03-26T18:16:30Z"
}
}