{"id":"CVE-2026-39858","published":"2026-04-30T20:26:26Z","modified":"2026-07-15T01:01:48Z","title":"Traefik: Forwarded alias spoofing top pre-auth decision bypass","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's ForwardAuth and snippet-based authentication middleware. Traefik's forwarded-header sanitization logic targets only canonical header names (e.g., X-Forwarded-Proto) and does not strip or normalize alias variants that use underscores instead of dashes (e.g., X_Forwarded_Proto). These unsanitized alias headers are forwarded intact to the authentication backend. When the backend normalizes underscore and dash header forms equivalently, an attacker can inject spoofed trust context — such as a trusted scheme or host — through the alias headers and bypass authentication on protected routes without valid credentials. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00739,"percentile":0.50588,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-5m6w-wvh7-57vm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/releases/tag/v2.11.43","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.6.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-39858","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2464234","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39858.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21772","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.12},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 2.11.43",">= 3.0.0-beta1, < 3.6.14",">= 3.7.0-ea.1, < 3.7.0-rc.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-04T16:57:57.062955Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","vulnerableRanges":[">=3.7.0-ea.1, <3.7.0-rc.2",">=3.0.0-beta1, <3.6.14","<3.6.14"],"patched":["3.7.0-rc.2","3.6.14"],"from":["GHSA-5m6w-wvh7-57vm","GO-2026-5149"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.11.43"],"patched":["2.11.43"],"from":["GHSA-5m6w-wvh7-57vm","GO-2026-5149"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["<=1.7.34","all versions"],"patched":[],"from":["GHSA-5m6w-wvh7-57vm","GO-2026-5149"],"provenance":"source"}],"summary":{"text":"A flaw in Traefik's ForwardAuth and snippet-based authentication middleware, present in releases prior to 2.11.43, 3.6.14 and 3.7.0-rc.2, lets forwarded-header sanitization handle only canonical header names and leave underscore-style alias variants such as X_Forwarded_Proto unstripped. An unauthenticated remote attacker over the network, with no user interaction, can inject spoofed trust context such as a trusted scheme or host through these alias headers to bypass authentication on protected routes, provided the authentication backend normalizes underscore and dash header forms equivalently.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:45Z"},"euvd":{"id":"EUVD-2026-26427","exploited":false,"provenance":"source"}}