Introduction
An authentication bypass in OpenShift's oauth proxy lets an unauthenticated remote attacker reach backend resources that operators intended to keep behind a login, as long as the deployment combines an authentication exemption rule with an upstream that resolves encoded dot segments. Red Hat rates CVE-2026-140330 as Important with a CVSS 3.1 score of 7.4, but the exposure is configuration dependent: deployments that authenticate every path are described as unaffected.
Oauth proxy is a reverse proxy and static file server that authenticates and authorizes access through OpenShift OAuth or compatible Kubernetes authorization endpoints. It is intended to protect end-user and infrastructure services inside OpenShift clusters that do not implement their own authentication, and the project is a fork of bitly/oauth2_proxy. Because it is the authentication boundary for those services, any disagreement between what the proxy checks and what the backend serves translates directly into an access-control failure inside OpenShift Container Platform environments.
Technical information
Root cause: the proxy and the upstream read different paths
The weakness is classified as CWE 436, Interpretation Conflict, where two components at a security boundary interpret the same request differently.
Oauth proxy supports authentication exemptions through a regex option, along with an alias for the same behavior:
-skip-auth-regex -bypass-auth-for
According to the Red Hat Bugzilla entry, the exemption check matches the configured pattern against req.URL.Path, which is the percent-decoded path. The reverse proxy director, however, forwards the raw, still-encoded RequestURI to the upstream. The proxy therefore makes its authentication decision on one representation of the path and hands a different representation to the backend.
Bugzilla documents the following example request path:
/whitelisted/%2e%2e/protected
At the proxy, the decoded path still matches a whitelist pattern for the /whitelisted prefix, so authentication is skipped. The encoded request is then forwarded unchanged. An upstream that decodes %2e%2e and resolves the resulting dot segment interprets the request as targeting /protected, which lies outside the exempt prefix. Bugzilla names nginx as an example of an upstream that decodes and resolves these segments by default.
The lesson is a familiar one. Recognizing an allowed prefix is not sufficient when the destination later interprets the same request as a different path. Exposure depends on the combination of a prefix exemption and downstream normalization, and whether the proxy is reachable does not decide it on its own.
Attack flow
Based on the published descriptions, exploitation proceeds as follows:
- The operator has configured an authentication exemption using the skip auth regex option (or its bypass auth for alias) with a prefix-style whitelist pattern.
- The upstream behind the proxy decodes and resolves percent-encoded dot segments, as nginx does by default.
- An unauthenticated remote attacker sends a request whose path begins with the exempt prefix and then uses percent-encoded traversal sequences to point at a protected location, as in the Bugzilla example above.
- The proxy evaluates the decoded path, finds it matches the exemption, and skips authentication.
- The proxy forwards the raw encoded request upstream.
- The upstream resolves the traversal and serves the protected resource, which the operator intended to require authentication.
Severity assessment
The published vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. NVD attributes the 7.4 score to Red Hat. NIST has not yet supplied an independent assessment.
| Dimension | Value | Meaning |
|---|---|---|
| Attack vector | Network | Exploitable with remote requests |
| Attack complexity | High | Deployment prerequisites must be satisfied |
| Privileges required | None | No authenticated account needed |
| User interaction | None | No victim interaction required |
| Scope | Unchanged | Scope is unchanged in the assessment |
| Confidentiality | High | High confidentiality impact |
| Integrity | High | High integrity impact |
| Availability | None | No availability impact |
Red Hat explains the high-complexity rating through the two required conditions: the exemption configuration and the upstream normalization behavior.
Exploitation status
The reviewed sources establish that the bypass is technically feasible under these conditions, but they do not establish exploitation against any organization. No threat actor, campaign, or ransomware operation is attributed to this CVE, and no standalone exploit or exploit module was identified. Rapid7 reports that the CVE is not listed in CISA KEV. The retrieved CISA feed snapshot, though, is dated November 30, 2026, one day before NVD publication on December 1, 2026, so that absence says little on its own. No EPSS estimate was available in the reviewed material. Red Hat credits Abhishek Raj and Yashashree Gund for reporting the issue.
Affected systems and versions
The affected component is oauth proxy, maintained in the openshift GitHub organization. The public product data in NVD is incomplete and partly contradictory:
| Product entry | Listed status | Limitation |
|---|---|---|
| OpenShift Container Platform 4 | Both affected and unaffected | The record does not resolve the distinction |
| OpenShift Container Platform 5 | Affected | No precise version range supplied |
| Fixed release | Not identified | Bugzilla status is NEW with no fixed version |
The available data does not support a precise vulnerable or fixed version range. It should not be read as a claim that every OpenShift 4 installation is vulnerable, or that any particular upgrade resolves the issue.
Vulnerable configuration
A deployment is in the vulnerable configuration when both of the following are true:
- oauth proxy is configured with the skip auth regex option or its bypass auth for alias, using a whitelist pattern of the kind described in the bug report.
- The upstream behind the proxy resolves percent-encoded dot segments.
Red Hat states that typical OpenShift deployments authenticate all paths, and Bugzilla states that deployments authenticating all paths are unaffected. Exposure therefore cannot be inferred from the product name or the 7.4 score alone. Reviewing exemption configuration is the practical way to scope it.
Vendor-recommended mitigations
Red Hat publishes three configuration measures, each targeting a different part of the mismatch:
| Action | Detail | Effect |
|---|---|---|
| Remove exemptions | Remove skip auth regex or bypass auth for settings | Moves the deployment into the unaffected "authenticate all paths" pattern |
| Tighten retained exemptions | Use exact matching instead of prefix patterns | Narrows which paths receive an exemption |
| Reject encoded traversal upstream of the proxy | Add a normalization layer in front of the proxy that rejects percent-encoded traversal sequences | Stops the documented request form before the exemption check runs |
Red Hat's exact-match example is:
^/metrics$
The anchors constrain the exemption to that single path rather than a broader prefix. For the third option, the advisory calls for the preceding layer to reject traversal sequences, not to decode and forward them. Red Hat's lifecycle documentation distinguishes mitigation from remediation, so these measures should be treated as configuration controls rather than a substitute for a fixed release once one is published.
Vendor security history
Red Hat's Product Security team operates a documented lifecycle covering assessment, remediation, and response, including CVE assessment, engineering notification, fixes or advisories, and machine-readable security metadata. Its policy states that advisories disclose when a vulnerability is first fixed within a product release.
Red Hat's self-reported 2025 Product Security Risk Report cites average times from public disclosure to first fix of 12 days for Critical and 24 days for Important vulnerabilities. The report cautions that only three Critical vulnerabilities affected its products that year, so the Critical average rests on a small sample. These figures are historical context and not a timeline for this CVE.
The same report describes an Undertow fix that initially triggered memory-corruption errors in native JDK code and required extended collaboration between Red Hat engineering and OpenJDK. A first fix is not always the final one. For CVE-2026-140330, the public response so far includes a Bugzilla entry, a severity rationale, explicit mitigation guidance, and reporter credit, but no identified fixed release.
References
- NVD entry for CVE-2026-140330
- CVE.org record for CVE-2026-140330
- Red Hat Customer Portal advisory for CVE-2026-140330
- Red Hat Bugzilla 2571875
- Cloudflare Radar Zero Wire entry
- Rapid7 Vulnerability Database entry
- OpenShift oauth proxy on GitHub
- Red Hat Product Security Overview
- Red Hat Vulnerability Management and Lifecycle
- Red Hat Product Security Risk Report 2025
- Red Hat Product Security Risk Report 2025 (PDF)
- Red Hat company overview
- CISA Known Exploited Vulnerabilities Catalog
- CISA KEV JSON feed



