{"id":"CVE-2026-54764","published":"2026-07-06T20:20:29Z","modified":"2026-07-07T14:03:17Z","title":"ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's ForwardAuth middleware, even when configured with trustForwardHeader: false, derives the X-Forwarded-Port header sent to the authentication service from the original incoming request instead of the sanitized forwarded request. As a result, an unauthenticated remote attacker can inject an X-Forwarded-Proto: https header over a plain HTTP connection and cause Traefik to forward X-Forwarded-Port: 443 to the authentication service, bypassing port-based authorization checks. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00281,"percentile":0.13141,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/pull/13344","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.63},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 2.11.51",">= 3.0.0, < 3.6.22",">= 3.7.0, < 3.7.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-07T14:03:07.994154Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.11.51"],"patched":["2.11.51"],"from":["GHSA-3q9r-p662-5j8m","GO-2026-6202"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","vulnerableRanges":["<3.6.22",">=3.7.0, <3.7.6"],"patched":["3.6.22","3.7.6"],"from":["GHSA-3q9r-p662-5j8m","GO-2026-6202"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["<=1.7.34","all versions"],"patched":[],"from":["GHSA-3q9r-p662-5j8m","GO-2026-6202"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-41937","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48020","published":"2026-06-23","fixed":"2.11.48","kev":false,"link":{"from":"CVE-2026-48020","to":"CVE-2026-54764","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.11.48","toFixed":"2.11.51","daysApart":13}]}},{"cve":"CVE-2026-48491","published":"2026-06-23","fixed":"2.11.48","kev":false},{"cve":"CVE-2026-53622","published":"2026-06-23","fixed":"2.11.51","kev":false},{"cve":"CVE-2026-54763","published":"2026-07-06","fixed":"2.11.51","kev":false},{"cve":"CVE-2026-54764","published":"2026-07-06","fixed":"2.11.51","kev":false},{"cve":"CVE-2026-65600","published":"2026-07-22","fixed":"2.11.52","kev":false},{"cve":"CVE-2026-71324","published":"2026-08-06","fixed":"2.11.53","kev":false},{"cve":"CVE-2026-71325","published":"2026-08-06","fixed":"2.11.54","kev":false}],"package":"Go:github.com/traefik/traefik/v2"}}