CVE-2026-140330
Oauth-proxy: oauth-proxy: authentication bypass via percent-encoded path traversal in skip-auth-regex matching
AI summary AI generated
An unauthenticated remote attacker can bypass oauth-proxy authentication via percent-encoded path traversal sequences to reach protected endpoints on upstream servers.
Mitigation
- Vendor workaround: 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.
Who should check
- Anyone running Red Hat OpenShift Container Platform 4 (versions: see the vendor advisory)
- Anyone running Red Hat OpenShift Container Platform 4 all versions
- Anyone running Red Hat OpenShift Container Platform 5 all versions
Vulnerability facts
- Affected
- Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- CWE
- CWE-436
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | all versions | — | cvelist |
| Red Hat OpenShift Container Platform 5 | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-140330. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-140330.md Affected: Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Red Hat OpenShift Container Platform 4, Red Hat OpenShift Container Platform 5: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-140330 being exploited?
There is no confirmed exploitation: CVE-2026-140330 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-140330?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-140330?
Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions.
Is there a fix for CVE-2026-140330?
No fixed version is listed in the sources yet. Vendor workaround: 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.
How do I check if I'm affected by CVE-2026-140330?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Red Hat (all products) vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140124 Glib2: unbounded authentication line read in gdbus client enables memory exhaustion denial of service | Red Hat (all products) | ||
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-115423 Freeipa: ipa: freeipa: unrestricted secret-attribute search grant permits authenticated value reconstruction | Red Hat (all products) | ||
| HIGH 7.7 | CVE-2026-105843 Openshift/router: openshift/router: newline injection via the hsts route annotation causes cluster-wide haproxy reload failure | Red Hat (all products) | ||
| MEDIUM 5.7 | CVE-2026-140039 Libproxy: libproxy: denial of service via blocking pac download and execution under lock | Red Hat (all products) |