CVE-2026-33495 Details
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.
An authentication bypass vulnerability has been identified in ORY Oathkeeper versions prior to 26.2.0. The issue arises when Oathkeeper is deployed behind components like CDNs, WAFs, or reverse proxies, which can forward requests using a different protocol than originally sent. Oathkeeper evaluates rules based on the 'X-Forwarded-Proto' header, but prior to version 26.2.0, it did not properly respect the 'serve.proxy.trust_forwarded_headers' configuration, which controls the trust level of 'X-Forwarded-*' headers. This flaw allows an attacker to manipulate the 'X-Forwarded-Proto' header to bypass authentication rules, provided the Oathkeeper installation has separate rules for HTTP and HTTPS and the attacker can trigger one rule without the other.
Upgrade to ORY Oathkeeper version 26.2.0 or later, and ensure that the 'serve.proxy.trust_forwarded_headers' configuration is set appropriately. As an additional precaution, consider removing unexpected headers early in the request handling process, such as through a WAF.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ory/oathkeeper/commit/e9acca14a04d246250557550065e4b4576525bd5 | [email protected] | Patch |
| https://github.com/ory/oathkeeper/security/advisories/GHSA-vhr5-ggp3-qq85 | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ory oathkeeper | < 26.2.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 2, 2026 | Initial Analysis | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |