Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-33495

MEDIUM 6.5EPSS 18%

Ory Oathkeeper has an authentication bypass by usage of untrusted header

Also known as GHSA-vhr5-ggp3-qq85, GO-2026-4810

Mitigation

  • Upgrade github.com/ory/oathkeeper to 0.40.10-0.20260320084810-e9acca14a04d or later.

Who should check

  • Projects that depend on Go package github.com/ory/oathkeeper (< 0.40.10-0.20260320084810-e9acca14a04d)
  • Anyone running ory oathkeeper < 26.2.0

Vulnerability facts

Affected
github.com/ory/oathkeeper < 0.40.10-0.20260320084810-e9acca14a04d
Fixed in
0.40.10-0.20260320084810-e9acca14a04d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-862
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/ory/oathkeeper< 0.40.10-0.20260320084810-e9acca14a04d0.40.10-0.20260320084810-e9acca14a04dosv
ory oathkeeper< 26.2.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-33495. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33495.md
Affected: github.com/ory/oathkeeper < 0.40.10-0.20260320084810-e9acca14a04d
Fixed in: 0.40.10-0.20260320084810-e9acca14a04d

Steps:
1. Search this machine and project for github.com/ory/oathkeeper (Go), ory oathkeeper: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-33495 being exploited?

There is no confirmed exploitation: CVE-2026-33495 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-33495?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-33495?

github.com/ory/oathkeeper < 0.40.10-0.20260320084810-e9acca14a04d.

Is there a fix for CVE-2026-33495?

Yes. Fixed in 0.40.10-0.20260320084810-e9acca14a04d. Upgrade github.com/ory/oathkeeper to 0.40.10-0.20260320084810-e9acca14a04d or later.

How do I check if I'm affected by CVE-2026-33495?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors