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 an authorization bypass via HTTP path traversal. An attacker can craft a URL containing path traversal sequences (e.g. `/public/../admin/secrets`) that resolves to a protected path after normalization, but is matched against a permissive rule because the raw, un-normalized path is used during rule evaluation. Version 26.2.0 contains a patch.
The vulnerability results from a discrepancy between the access rule matching stage and the URL path normalization stage. An attacker constructs a URL containing path traversal sequences (e.g., `/public/../admin/secrets`), which before normalization matches a permissive rule because the rule evaluation is performed on the raw, non-normalized path. After normalization by the target server, the path resolves to a protected resource, which is allowed through without proper permission verification.
An attacker can bypass access control rules and gain unauthorized access to protected API resources or applications behind the proxy. Depending on the architecture of the protected system, this can lead to disclosure of sensitive data or violation of resource integrity.
Ory Oathkeeper should be updated to version 26.2.0, which contains a patch eliminating the vulnerability. The patch is available in the project repository (commit 8e0002140491c592db41fa141dc6ad68f417e2b2).
Ory Oathkeeper in versions earlier than 26.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:NOry Oathkeeper
APPOry< 26.2.0
Related vulnerabilities
ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP reques...
ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP reques...
ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP reques...
Ory Kratos is an identity, user management and authentication system for cloud services. Prior to version 26.2...
Ory Hydra is an OAuth 2.0 Server and OpenID Connect Provider. Prior to version 26.2.0, the listOAuth2Clients, ...