{"id":"CVE-2026-54764","state":"PUBLISHED","title":"ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false","description":"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.","publishedAt":"2026-07-06T20:20:29.345Z","updatedAt":"2026-07-07T14:03:17.886Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["traefik traefik"],"affected":[{"vendor":"traefik","product":"traefik","versions":[{"version":"< 2.11.51","status":"affected"},{"version":">= 3.0.0, < 3.6.22","status":"affected"},{"version":">= 3.7.0, < 3.7.6","status":"affected"}]}],"references":["https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m","https://github.com/traefik/traefik/pull/13344","https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d"],"weaknesses":["CWE-345"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54764.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54764","state":"PUBLISHED","datePublished":"2026-07-06T20:20:29.345Z","dateUpdated":"2026-07-07T14:03:17.886Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T23:12:41.966Z"},"containers":{"cna":{"title":"ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"traefik","product":"traefik","versions":[{"version":"< 2.11.51","status":"affected"},{"version":">= 3.0.0, < 3.6.22","status":"affected"},{"version":">= 3.7.0, < 3.7.6","status":"affected"}]}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m","name":"https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/pull/13344","name":"https://github.com/traefik/traefik/pull/13344","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d","name":"https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","lang":"en","description":"CWE-345: Insufficient Verification of Data Authenticity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-06T20:20:29.345Z"},"source":{"advisory":"GHSA-3q9r-p662-5j8m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-07T14:03:07.994154Z","id":"CVE-2026-54764","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-07T14:03:17.886Z"}}]}}}