Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.4CVE-2026-140330

oauth-proxy (OpenShift): authentication bypass via encoded path traversal in skip-auth-regex

Published 01/12/2026 · Updated 01/12/2026 · Red Hat OpenShift Container Platform 4

Summary

An authentication bypass vulnerability (CWE-436, interpretation conflict) was found in oauth-proxy, a component used in Red Hat OpenShift Container Platform 4 and 5. The proxy evaluates authentication exemption rules (-skip-auth-regex / -bypass-auth-for) against the decoded request path. However, it forwards the raw, percent-encoded request to the upstream server. If the upstream server resolves the path traversal sequences, unauthenticated requests can reach protected endpoints.

The CVSS 3.1 score is 7.4 (High). The attack is carried out over the network, requires no authentication and no user interaction. Attack complexity is high because success depends on configuration: exemption rules must exist and the upstream server must resolve traversal sequences. A successful attacker can read and modify protected resources (high confidentiality and integrity impact). The vulnerability is not listed in the CISA KEV catalog, and no EPSS data is available.

Who is affected

Organizations running Red Hat OpenShift Container Platform 4 or 5 with oauth-proxy configured with -skip-auth-regex or -bypass-auth-for.

What to do

  1. No fixed version is listed in the record. Check Red Hat's official advisory (https://access.redhat.com/security/cve/CVE-2026-140330) and apply the fix as soon as it is available.
  2. Remove or tighten -skip-auth-regex / -bypass-auth-for configurations. Use exact-path matching (e.g. ^/metrics$) rather than prefix patterns.
  3. If needed, place an additional normalization layer in front of the proxy that rejects percent-encoded traversal sequences.
  4. Inventory all oauth-proxy instances and their arguments to identify which ones use authentication exemption rules.
  5. Review access logs for requests containing encoded sequences (e.g. %2e%2e, %2f) targeting protected endpoints.

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.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 4
Red Hat Red Hat OpenShift Container Platform 5

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
None

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.