{"id":"CVE-2026-33494","aliases":["CVE-2026-33494","GHSA-p224-6x5r-fjpm","GO-2026-4804"],"related":[],"kind":"vulnerability","state":"published","title":"Ory Oathkeeper has a path traversal authorization bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Description\n\nOry Oathkeeper is 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.\n\n## Preconditions\n\nOry Oathkeeper rules are typically configured with patterns like:\n\n```\n/public/<.*>   → allow unauthenticated access\n/admin/<.*>    → require authentication\n```\n\nWithout path normalization, a request to `/public/../admin/secrets` is matched against the raw path `/public/../admin/secrets`. This matches the `/public/<.*>` rule, bypassing the authentication required for `/admin/secrets`. After Ory Oathkeeper permits the request, the upstream server normalizes the path and serves the protected `/admin/secrets` resource.\n\n## Mitigation\n\nGoing forward, Ory Oathkeeper normalizes the request path before performing rule matching and before forwarding. The path `/public/../admin/secrets` is normalized to `/admin/secrets`, which correctly matches the `/admin/<.*>` rule and triggers authentication.\n\nAs an immediate mitigation, all requests reaching Oathkeeper should be normalized, as described in the section below. Oathkeeper should be upgraded to a fixed version as soon as possible.\n\n## Defense in depth: Cleaning paths before Oathkeeper\n\nEven after this fix, it is good practice to normalize HTTP paths in the layers in front of Oathkeeper. This provides defense in depth and protects against similar bypasses in other components. The following examples show how to achieve this with common reverse proxies and CDNs.\n\n### Nginx\n\nNginx normalizes paths by default when using `proxy_pass`. Alternatively, use `$uri` (which Nginx normalizes) rather than `$request_uri` in your matching rules.\n\n### Envoy\n\nEnable the `normalize_path` option (available since Envoy 1.14) to normalize the path components before matching and forwarding. See the <a href=\"https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-normalize-path\" target=\"_blank\" rel=\"noopener noreferrer\">Envoy docs on path normalization</a>.\n\n### Cloudflare\n\nCloudflare normalizes URLs by default. In the Cloudflare dashboard, ensure **Normalize incoming URLs** is enabled under **Rules → Normalization**.\nSee the <a href=\"https://developers.cloudflare.com/rules/normalization/\" target=\"_blank\" rel=\"noopener noreferrer\">Cloudflare URL normalization docs</a>.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Ory Oathkeeper has a path traversal authorization bypass in github.com/ory/oathkeeper","format":"markdown","source":"go"},{"lang":"es","text":"ORY Oathkeeper es un proxy de identidad y acceso (IAP) y una API de decisión de control de acceso que autoriza solicitudes HTTP basándose en conjuntos de reglas de acceso. Las versiones anteriores a la 26.2.0 son vulnerables a una omisión de autorización a través de un salto de ruta HTTP. Un atacante puede crear una URL que contenga secuencias de salto de ruta (por ejemplo, '/public/../admin/secrets') que se resuelva en una ruta protegida después de la normalización, pero que se compare con una regla permisiva porque la ruta sin procesar y sin normalizar se utiliza durante la evaluación de la regla. La versión 26.2.0 contiene un parche.","source":"nvd"}],"published":"2026-03-20T20:51:24.000Z","modified":"2026-06-17T10:37:35.807Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"rating":"CRITICAL"}],"cwes":["CWE-23"],"affected":[{"ranges":[{"version":"< 26.2.0","status":"affected"}],"vendor":"ory","product":"oathkeeper","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.40.10-0.20260320084758-8e0002140491"}],"ecosystem":"Go","package":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.40.10-0.20260320084758-8e0002140491"}],"ecosystem":"Go","package":"github.com/ory/oathkeeper","purl":"pkg:golang/github.com/ory/oathkeeper","source":"go"},{"ranges":[{"status":"affected","fixed":"26.2.0"}],"vendor":"ory","product":"oathkeeper","cpe":"cpe:2.3:a:ory:oathkeeper:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ory/oathkeeper/security/advisories/GHSA-p224-6x5r-fjpm","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/ory/oathkeeper/commit/8e0002140491c592db41fa141dc6ad68f417e2b2","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33494","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ory/oathkeeper","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-03-27T13:48:19.576Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33494","url":"https://www.cve.org/CVERecord?id=CVE-2026-33494","licence":"CVE Terms of Use","modified":"2026-03-27T13:58:20.111Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p224-6x5r-fjpm","url":"https://github.com/advisories/GHSA-p224-6x5r-fjpm","licence":"CC-BY-4.0","modified":"2026-03-27T21:20:18.952Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4804","url":"https://pkg.go.dev/vuln/GO-2026-4804","licence":"CC-BY-4.0","modified":"2026-03-23T18:45:23.126Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33494","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33494","licence":"Public domain","modified":"2026-06-17T10:37:35.807Z"}],"updatedAt":"2026-11-25T22:59:17.087Z","epss":{"score":0.00577,"percentile":0.48933,"date":"2026-12-01T12:00:22.000Z"}}