CVE-2026-33496: Ory Oathkeeper Authentication Bypass Due to Cache Key Confusion

github.com/ory/oathkeeper Updated 20 Mar 2026

Summary

20/03/2026
Yes i
High
8.1

CVE-2026-33496: Ory Oathkeeper has an authentication bypass by cache key confusion. Affects github.com/ory/oathkeeper versions < 0.40.10-0.20260320084801-198a2bc82a99. Fixed in 0.40.10-0.20260320084801-198a2bc82a99. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ory Oathkeeper is an open-source identity and access proxy that enables secure access to APIs and microservices. It provides various authentication mechanisms, including OAuth2, to ensure that only authorized users can access protected resources. However, it has been found to be vulnerable to an authentication bypass due to cache key confusion, particularly when configured with multiple OAuth2 introspection servers.

Vulnerability Detail

The vulnerability arises from the oauth2_introspection authenticator cache not distinguishing between tokens validated with different introspection URLs. This allows an attacker to use a valid token to prime the cache and subsequently exploit it by using the same token for rules that rely on a different introspection server. The implications of this vulnerability are significant, as it can lead to unauthorized access to sensitive resources, compromising the security of the application.

How To Fix

Latest published version: v0.40.9 as of 23 Oct 2026

go get github.com/ory/oathkeeper@v0.40.9

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.40.10-0.20260320084801-198a2bc82a99

This is the first release that contains the fix.

go get github.com/ory/oathkeeper@v0.40.10-0.20260320084801-198a2bc82a99

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, disable caching for oauth2_introspection authenticators to mitigate the risk. This can be done by modifying the configuration to set caching to false for the relevant authenticators.

Conclusion

In summary, the vulnerability CVE-2026-33496 in Ory Oathkeeper allows for authentication bypass due to cache key confusion. It is crucial to update to the patched version to mitigate this risk or disable caching as a temporary measure. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for github.com/ory/oathkeeper →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can be exploited if Ory Oathkeeper is configured with multiple oauth2_introspection authenticator servers and caching is enabled.

If you cannot update immediately, disable caching for oauth2_introspection authenticators as a temporary workaround.

You can find more information about Ory Oathkeeper and its features on the official documentation site at https://www.ory.com/docs/oathkeeper.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/ory/oathkeeper.

How To Fix

Latest published version: v0.40.9 as of 23 Oct 2026

go get github.com/ory/oathkeeper@v0.40.9

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.40.10-0.20260320084801-198a2bc82a99

This is the first release that contains the fix.

go get github.com/ory/oathkeeper@v0.40.10-0.20260320084801-198a2bc82a99

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback