Traefik memory exhaustion in compress middleware
Affects Traefik 3.1.0 before 3.7.18 and 3.8.0-rc.1 (before 3.8.0-rc.2) when the Compress middleware has zstd among its enabled encodings, which is the default. Fixed in 3.7.18 and 3.8.0-rc.2.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.7.18, 3.8.0-rc.2
- Who is exposed
- Default setups
Summary
Written by a model
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.
Who should check
Teams running Traefik v3.1.0 through v3.7.17 or v3.8.0-rc.1 with the Compress middleware and zstd encoding enabled (the default)
“Traefik 3.1.0 before 3.7.18 and 3.8.0-rc.1 contain a memory exhaustion vulnerability in the Compress middleware”
What to do
Check every install: default setups are affected.
Upgrade to a fixed version: 3.7.18, 3.8.0-rc.2.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-137479 (Traefik from 3.1.0 before 3.7.18 Memory Exhaustion DoS via Compress Middleware), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-137479 (entry last updated 2026-11-26):
Affected:
- Go package github.com/traefik/traefik/v3: from 3.1.0, fixed in 3.7.18
- Go package github.com/traefik/traefik/v3: from 3.8.0-rc.1, fixed in 3.8.0-rc.2
Fixed versions: 3.7.18, 3.8.0-rc.2.
Conditions (all must be true for the bug to be hit):
- The Compress middleware has zstd among its enabled encodings, which is the default. (source: https://github.com/traefik/traefik/security/advisories/GHSA-x5pf-cqh3-2gv8)
- Affected Traefik versions are 3.1.0 before 3.7.18 and 3.8.0-rc.1 (before 3.8.0-rc.2). (source: https://www.vulncheck.com/advisories/traefik-from-3.1.0-before-3.7.18-memory-exhaustion-dos-via-compress-middleware)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-137479 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137479 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Go): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/traefik/traefik/security/advisories/GHSA-x5pf-cqh3-2gv8
- https://www.vulncheck.com/advisories/traefik-from-3.1.0-before-3.7.18-memory-exhaustion-dos-via-compress-middleware
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-137479
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137479"}.Affected versions
- github.com/traefik/traefik/v3From 3.1.0 · fixed in 3.7.18Fixed in v3.7.18 (released Nov 9, 2026, 17 days before disclosure).
- github.com/traefik/traefik/v3From 3.8.0-rc.1 · fixed in 3.8.0-rc.2Fixed in v3.8.0-rc.2 (released Nov 10, 2026, 16 days before disclosure).The latest release, v3.8.0, is not affected.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure22/25Default setups, reachable over the network without a login
- Reach10/20Affects Go packages
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 81 if added to CISA KEV
- Would score about 76 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · traefik/traefik · Advisory GHSA-x5pf-cqh3-2gv8 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137479 |
| Record | NVD · CVE-2026-137479 |
| Other links 1 | |
| Link | vulncheck.com · advisories/traefik-from-3.1.0-before-3.7.18-memory-exhaustion-dos-via-compress-middleware |
Questions about CVE-2026-137479
Is CVE-2026-137479 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The Compress middleware can hold an unbounded amount of memory, so Traefik can run out of memory and crash, causing a denial of service. The advisory says unauthenticated remote attackers can trigger this.
Source: github.com, vulncheck.com
Which versions are affected by CVE-2026-137479?
github.com/traefik/traefik/v3 (Go): from 3.1.0 before 3.7.18. github.com/traefik/traefik/v3 (Go): from 3.8.0-rc.1 before 3.8.0-rc.2.
Source: cve.now feed data
Am I affected, and how do I check?
Traefik 3.1.0 before 3.7.18 and 3.8.0-rc.1 before 3.8.0-rc.2 are affected. The setup in question is the Compress middleware with zstd among its enabled encodings, which is the default; check the Compress middleware section of your static and dynamic configuration and the output of the traefik version command.
Source: github.com, vulncheck.com
How do I fix CVE-2026-137479?
Upgrade to Traefik 3.7.18 or later, or to 3.8.0-rc.2 if you use the 3.8 release candidate line.
Source: github.com, vulncheck.com
Related
- CVE-2026-88877Traefik v3.7.0 Authentication Bypass via from-to-www-redirect
- CVE-2026-85595Traefik before v2.11.55 and v3.0.0 before v3.7.11 Authentication Bypass via digestAuth
- CVE-2026-88007Traefik HTTP/3 Backend NTLM Connection Reuse
- CVE-2026-88009Traefik: Rootless HTTP/1 request-target routes as "/" but is forwarded verbatim, bypassing path-scoped routing, middleware guards and…
- CVE-2026-130732Traefik from 2.11.58 before 2.11.61 Denial of Service via NTLM/Negotiate Headers
- CVE-2026-85597Traefik before v2.11.55 and v3.0.0 before v3.7.11 mTLS Bypass via TLS Option Conflict
No corrections so far. Something wrong on this page? Report an error.