CVE-2026-137479: Traefik from 3.1.0 before 3.7.18 Memory Exhaustion DoS via Compress Middleware
Traefik 3.1.0 before 3.7.18 and 3.8.0-rc.1 contain a memory exhaustion vulnerability in the Compress middleware, which creates zstd encoders with library default options that retain about 18 MiB of state per response until it is fully written. Unauthenticated remote attackers can open many concurrent requests and read responses slowly to exhaust memory and crash Traefik.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Traefik deployments running versions from 3.1.0 before 3.7.18, as well as 3.8.0-rc.1, are affected when the Compress middleware is in use.
What does an attacker need to exploit it?
An unauthenticated remote attacker needs network access to Traefik. They can make many concurrent requests and deliberately read the responses slowly, causing zstd encoder state to remain allocated.
What is the expected impact of a successful attack?
Each affected response can retain roughly 18 MiB of memory until it is fully written. Enough concurrent slow-reading requests can exhaust available memory and crash Traefik.