{"schemaVersion":3,"id":"CVE-2026-76835","aliases":["RHSA-2026:74536"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-24T17:55:39.829Z","modified":"2026-10-08T15:25:05.218Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true}]},"epss":{"probability":0.00453,"percentile":0.38038,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.10600000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00347},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00453,"percentile":0.38038}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00347,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00629,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00453,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00453,"percentile":0.38038}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing","description":"This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/290.html"}],"affected":[{"vendor":"oauth2-proxy","product":"oauth2-proxy","name":"oauth2-proxy","label":"oauth2-proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.15.2, ≤ 7.15.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.15.2, ≤ 7.15.4","eol":null,"hubHref":"/vendor/oauth2-proxy/oauth2-proxy"},{"vendor":"redhat","product":"oauth2-proxy","name":"oauth2-proxy","label":"oauth2-proxy","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/oauth2-proxy","purlType":"rpm","versions":[{"text":"< 0:7.15.5-0.1.hum1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:7.15.5-0.1.hum1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/oauth2-proxy/oauth2-proxy","label":"github.com/oauth2-proxy/oauth2-proxy","hostname":"github.com","tags":["Product","ARTICLE"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/issues/3506","label":"github.com/oauth2-proxy/oauth2-proxy/issues/3506","hostname":"github.com","tags":["Issue Tracking","ARTICLE"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/blob/v7.15.4/pkg/apis/middleware/scope.go","label":"github.com/oauth2-proxy/oauth2-proxy/blob/v7.15.4/pkg/apis/middleware/scope.go","hostname":"github.com","tags":["Technical Description","ARTICLE"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7x63-xv5r-3p2x","label":"github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7x63-xv5r-3p2x","hostname":"github.com","tags":["Vendor Advisory","ARTICLE"]},{"url":"https://www.vulncheck.com/advisories/oauth2-proxy-through-authentication-bypass-via-x-forwarded-uri-under-the-default-trusted-proxy-set","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory","ARTICLE"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74536","label":"access.redhat.com/errata/RHSA-2026:74536","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-76835","label":"access.redhat.com/security/cve/CVE-2026-76835","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56851","label":"access.redhat.com/security/cve/CVE-2026-56851","hostname":"access.redhat.com","tags":["ARTICLE","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_74536.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_74536.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2522418","label":"bugzilla.redhat.com/show_bug.cgi?id=2522418","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-76835","label":"www.cve.org/CVERecord?id=CVE-2026-76835","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76835","label":"nvd.nist.gov/vuln/detail/CVE-2026-76835","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2547607","label":"bugzilla.redhat.com/show_bug.cgi?id=2547607","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56851","label":"www.cve.org/CVERecord?id=CVE-2026-56851","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56851","label":"nvd.nist.gov/vuln/detail/CVE-2026-56851","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://go.dev/cl/793360","label":"go.dev/cl/793360","hostname":"go.dev","tags":["ARTICLE"]},{"url":"https://go.dev/issue/80112","label":"go.dev/issue/80112","hostname":"go.dev","tags":["ARTICLE"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6629","label":"pkg.go.dev/vuln/GO-2026-6629","hostname":"pkg.go.dev","tags":["Advisory"]}],"lineage":{"upstream":["CVE-2026-56851"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-24T17:55:39.829Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T15:25:05.218Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:36:57.457Z","stale":false,"partial":false}}