{"id":"CVE-2026-140330","state":"PUBLISHED","title":"Oauth-proxy: oauth-proxy: authentication bypass via percent-encoded path traversal in skip-auth-regex matching","description":"A flaw was found in oauth-proxy. An unauthenticated remote attacker can bypass authentication to access protected resources by sending a crafted HTTP request containing percent-encoded path traversal sequences. This issue occurs because the proxy evaluates authentication exemption rules against the decoded request path while forwarding the raw, encoded request to the upstream server. When an upstream server resolves these path traversal sequences, unauthorized requests can reach restricted endpoints without requiring authentication.","publishedAt":"2026-12-01T02:46:58.929Z","updatedAt":"2026-12-01T02:46:58.929Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat Red Hat OpenShift Container Platform 4","Red Hat Red Hat OpenShift Container Platform 5"],"affected":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift4/ose-oauth-proxy","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift4/ose-oauth-proxy-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift5/ose-oauth-proxy-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]}],"references":["https://access.redhat.com/security/cve/CVE-2026-140330","https://bugzilla.redhat.com/show_bug.cgi?id=2571875"],"weaknesses":["CWE-436"],"ingestedAt":"2026-12-01T02:54:06.038Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/140xxx/CVE-2026-140330.json","commit":"75f411d0abc590893ecee2ee23431adf773bacc2","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140330","state":"PUBLISHED","datePublished":"2026-12-01T02:46:58.929Z","dateUpdated":"2026-12-01T02:46:58.929Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2026-12-01T01:26:24.610Z"},"containers":{"cna":{"title":"Oauth-proxy: oauth-proxy: authentication bypass via percent-encoded path traversal in skip-auth-regex matching","descriptions":[{"lang":"en","value":"A flaw was found in oauth-proxy. An unauthenticated remote attacker can bypass authentication to access protected resources by sending a crafted HTTP request containing percent-encoded path traversal sequences. This issue occurs because the proxy evaluates authentication exemption rules against the decoded request path while forwarding the raw, encoded request to the upstream server. When an upstream server resolves these path traversal sequences, unauthorized requests can reach restricted endpoints without requiring authentication."}],"affected":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift4/ose-oauth-proxy","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","packageName":"openshift4/ose-oauth-proxy-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","packageName":"openshift5/ose-oauth-proxy-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:openshift:5"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-140330","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2571875","name":"RHBZ#2571875","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","description":"Interpretation Conflict","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-12-01T02:46:58.929Z"},"datePublic":"2026-12-01T01:55:58.789Z","x_redhatCweChain":"CWE-436: Interpretation Conflict","workarounds":[{"lang":"en","value":"Remove or tighten -skip-auth-regex / -bypass-auth-for configurations (e.g. require exact-path matching such as ^/metrics$ rather than prefix patterns), or place an additional normalization layer in front of the proxy that rejects percent-encoded traversal sequences."}],"timeline":[{"lang":"en","time":"2026-11-02T17:55:52.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-12-01T01:55:58.789Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Abhishek Raj and Yashashree Gund for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}}}}}