Bug 2571875 (CVE-2026-140330) - CVE-2026-140330 oauth-proxy: oauth-proxy: authentication bypass via percent-encoded path traversal in skip-auth-regex matching
Summary: CVE-2026-140330 oauth-proxy: oauth-proxy: authentication bypass via percent-e...
Keywords:
Status: NEW
Alias: CVE-2026-140330
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-11 19:12 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:56 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-11 19:12:14 UTC
A flaw was found in openshift/oauth-proxy. The -skip-auth-regex authentication exemption check matches patterns against the percent-decoded request path (req.URL.Path), while the reverse-proxy director forwards the raw, still-encoded RequestURI to the upstream. An unauthenticated remote attacker can send a request whose path contains a percent-encoded traversal sequence (e.g. /whitelisted/%2e%2e/protected), which matches the skip-auth whitelist on the decoded path but is resolved by traversal-normalizing upstream services (e.g. nginx, which decodes and resolves percent-encoded dot segments by default) to a protected path outside the whitelisted prefix, bypassing authentication and gaining unauthenticated access to resources the operator intended to protect. Exploitation requires the operator to have configured -skip-auth-regex (or its alias -bypass-auth-for) with an anchor-shaped whitelist pattern and an upstream that resolves percent-encoded dot segments; deployments authenticating all paths are unaffected.


Note You need to log in before you can comment on or make changes to this bug.