CVE-2026-76835
Last modified
CVE-2026-76835 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. OAuth2 Proxy honours a client-supplied X-Forwarded-Uri header when deciding whether a request may skip authentication, because the guard added for CVE-2026-40575 is inert in the default reverse-proxy configuration. GetRequestURI in pkg/requests/util/util.go prefers that header over the real request URI whenever CanTrustForwardedHeaders returns true, and isAllowedPath in oauthproxy.go matches the skip_auth_routes and skip_auth_regex allow list against the resulting path.
Description
OAuth2 Proxy honours a client-supplied X-Forwarded-Uri header when deciding whether a request may skip authentication, because the guard added for CVE-2026-40575 is inert in the default reverse-proxy configuration. GetRequestURI in pkg/requests/util/util.go prefers that header over the real request URI whenever CanTrustForwardedHeaders returns true, and isAllowedPath in oauthproxy.go matches the skip_auth_routes and skip_auth_regex allow list against the resulting path. CanTrustForwardedHeaders in pkg/apis/middleware/scope.go grants that trust when the caller's address is in the trusted proxy set, and buildTrustedProxyNetSet falls back to defaultTrustedProxyIPs, which is 0.0.0.0/0 and ::/0, whenever reverse proxy mode is enabled without trusted_proxy_ip configured. Every client is therefore treated as a trusted proxy. An unauthenticated attacker can request a protected upstream path while setting X-Forwarded-Uri to a value matching an allow-listed route, so the skip-auth decision is made against the spoofed value while the upstream receives the protected path unchanged.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oauth2-proxy | oauth2-proxy | >= 7.15.2, <= 7.15.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-76835?
How severe is CVE-2026-76835?
How do I fix CVE-2026-76835?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-76829Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-7683A weakness has been identified in Edimax BR-6428nC up to 1.1…6.3
- CVE-2026-76830Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-76831Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-76832Agno's PythonTools in libs/agno/agno/tools/python.py contain…8.8
- CVE-2026-76833@cgauge/yaml npm package contains an arbitrary code executio…7.8
- CVE-2026-76836AzuraCast exposes the Liquidsoap custom configuration fields…8.8
- CVE-2026-76837Baserow interpolates a user's display name into the rich-tex…6.4
- CVE-2026-76838Hi.Events validates a webhook destination only when it is re…8.5
- CVE-2026-76839Grav before 2.0.16 allows sandboxed Twig templates to access…6.5
- CVE-2026-7684A security vulnerability has been detected in Edimax BR-6428…8.8
- CVE-2026-76840RustDesk's Windows clipboard redirection copies a peer-suppl…9.6
Are you affected by CVE-2026-76835?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
