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.

Project Subscriptions

Vendors Products
Openshift Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the 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.

History

Tue, 01 Dec 2026 03:00:00 +0000

Type Values Removed Values Added
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.
Title Oauth-proxy: oauth-proxy: authentication bypass via percent-encoded path traversal in skip-auth-regex matching
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-436
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-01T02:46:58.929Z

Reserved: 2026-12-01T01:26:24.610Z

Link: CVE-2026-140330

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-01T03:17:15.160

Modified: 2026-12-01T03:17:15.280

Link: CVE-2026-140330

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses