Red Hat OpenShift oauth-proxy path-encoding mismatch skips login checks
CVE-2026-140330
A crafted web address request can slip past login checks on a container platform.
- CVE
- CVE-2026-140330 (opens in a new tab)
- Score
- CVSS 7.4
- First seen
Mitigation
No source names a fixed version yet. Remove the -skip-auth-regex and -bypass-auth-for exemptions, or narrow them to exact-path matches such as ^/metrics$. Alternatively, put a layer in front that rejects percent-encoded traversal sequences. The affected package is ose-oauth-proxy-rhel9 in OpenShift Container Platform 4 and 5.
Summary
A flaw in oauth-proxy lets an unauthenticated remote attacker send percent-encoded path traversal sequences to reach protected endpoints without logging in. The ose-oauth-proxy-rhel9 package in OpenShift Container Platform 4 and 5 is affected.
Affected when
- Login-exempt path patterns set with -skip-auth-regex or -bypass-auth-for
- Upstream server resolves path traversal sequences
56 other Incidents of this product in the last 30 days
Incidents by product: Red Hat OpenShift Container Platform 4 · Red Hat OpenShift Container Platform 5 · Red Hat OpenShift
Other recent Incidents of Red Hat OpenShift Container Platform 4
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)