OpenShift oauth-proxy: encoded paths slip past the login check
A 7.4 flaw in OpenShift's oauth-proxy lets unauthenticated attackers reach protected pages with percent-encoded paths. Red Hat disclosed it on 1 December 2026; no fix yet.

Affects
- Red Hat OpenShift
Tracked as
CVE-2026-140330oauth-proxy in Red Hat OpenShift Container Platform 4 and 5 · CVSS 7.4
A flaw in the oauth-proxy that guards services on Red Hat OpenShift lets an unauthenticated attacker reach protected pages without logging in. The bug, CVE-2026-140330, scores 7.4. Red Hat disclosed it on 1 December 2026, and no fixed build has landed yet.
The mismatch is between two views of the same request. The proxy decides whether a path is exempt from login by looking at the decoded path, but it forwards the raw, still-encoded path to the service behind it. A crafted request carrying percent-encoded path traversal can therefore pass the exemption check and then, once the upstream server resolves the traversal, land on a restricted endpoint with no login at all.
The fix, until Red Hat ships one, is configuration. Remove or tighten -skip-auth-regex and -bypass-auth-for rules: require exact-path matching, such as ^/metrics$, instead of prefix patterns that an encoded traversal can slide under. Where that is not practical, put an extra normalisation layer in front of the proxy that rejects percent-encoded traversal sequences outright. Then apply the Red Hat fix when the errata arrives.
Red Hat’s CVE page carries the full description and the list of affected releases.
Sources
- CVE-2026-140330Red Hat
- CVE-2026-140330 DetailNVD


