ZeroHour

CVE-2026-88004

large

Traefik header-defense bypass via unauthenticated HTTP trailer spoofing

CVSS 4.0
7.0 high
EPSS
Published
()
Modified
AI analysis

Traefik, an open-source HTTP reverse proxy and load balancer, fails to validate HTTP trailers in its entrypoint defenses between versions 3.2.0 and 3.7.13: the aliasHeadersStrategy, underscoreHeadersStrategy, and forwardedHeaders protections inspect req.Header but not req.Trailer, allowing an unauthenticated remote client to place an aliasing or trusted header name into an HTTP/1.1 chunked trailer or an HTTP/2 trailer. When the retry or buffering middleware reads the request body before the reverse proxy clones the request, the attacker-controlled trailer value reaches a backend that merges trailers into the header namespace, bypassing the documented delete or reject behavior. An attacker can thereby spoof identity or forwarded routing headers at the backend — for example injecting trusted forwarded or identity headers — potentially impersonating users or altering routing decisions on subsequent systems. Affected deployments are Traefik 3.2.0 through versions prior to 3.7.13 that use these entrypoint strategies, especially where retry or buffering middleware is configured and backends trust merged header/trailer values; the high attack complexity in the CVSS 4.0 score (7.0, High) reflects these required conditions. There is currently no known exploitation in the wild, no public proof-of-concept, and the flaw is not listed in CISA's KEV; it is fixed in Traefik 3.7.13.

What to do: Upgrade Traefik to 3.7.13 or later, which is the only version identified as fixed in the advisory data. Until patched, review entrypoint configurations for use of aliasHeadersStrategy, underscoreHeadersStrategy, and forwardedHeaders trust, and consider disabling or tightening these on routes where the retry or buffering middleware reads request bodies, or ensure backends do not merge trailers into the header namespace for identity/forwarded headers. No CISA KEV listing or public proof-of-concept exists, so prioritize patching deployments where backends trust forwarded or identity headers.

Affected
Traefik Labs Traefik (open-source HTTP reverse proxy and load balancer)>= 3.2.0 and < 3.7.13; fixed in 3.7.13
Estimated exposure
large≈100,000+ Traefik deployments plausibly affected, of which tens of thousands are internet-exposed — Traefik is one of the most widely deployed open-source reverse proxies (it is the default ingress controller in k3s and common in Docker/Kubernetes edge stacks), public internet scans have indexed tens of thousands of Traefik instances,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Traefik is an open source HTTP reverse proxy and load balancer. From 3.2.0 until 3.7.13, Traefik entrypoint defenses aliasHeadersStrategy, underscoreHeadersStrategy, and forwardedHeaders inspect req.Header but not req.Trailer, allowing an unauthenticated client to submit an aliasing or trusted header name in an HTTP/1.1 chunked trailer or an HTTP/2 trailer. When the retry or buffering middleware reads the body before the reverse proxy clones the request, the attacker-controlled trailer value reaches a backend that merges trailers into the header namespace, bypassing the documented delete or reject behavior and potentially spoofing identity or forwarded routing data. This issue is fixed in 3.7.13.

Vendors
traefik
Products
traefik
Ecosystems
go
Weakness
CWE-436, CWE-807
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/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
GHSA
GHSA-v67p-phpq-fc8x (high)

In the news

No ingested article mentions this CVE yet.