CVE-2026-26998 Traefik: unbounded io.ReadAll on auth server response body causes OOM denial of service(DOS)

Medium 4.4 Published Updated

Traefik crashes with out-of-memory errors when ForwardAuth middleware receives unbounded responses from authentication servers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-26998?

CVE-2026-26998 is a medium-severity denial of service vulnerability in Traefik Traefik, published on 5 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.38 and 3.6.9, there is a potential vulnerability in Traefik managing the ForwardAuth middleware responses. When Traefik is configured to use the ForwardAuth middleware, the response body from the authentication server is read entirely into memory without any size limit. There is no maxResponseBodySize configuration to restrict the amount of data read from the authentication server response. If the authentication server returns an unexpectedly large or unbounded response body, Traefik will allocate unlimited memory, potentially causing an out-of-memory (OOM) condition that crashes the process. This results in a denial of service for all routes served by the affected Traefik instance. This issue has been patched in versions 2.11.38 and 3.6.9.

Weakness: CWE-770

Which versions are affected by CVE-2026-26998?

7 open source packages ship an affected version, including github.com/traefik/traefik/v2, github.com/traefik/traefik and github.com/traefik/traefik/v3. It affects 1 product.

PackageAffectedFixed in
github.com/traefik/traefik/v2 GoAll versions2.11.38
github.com/traefik/traefik/v2 GoAll versions2.11.38
github.com/traefik/traefik/v2 GoAll versions2.11.38
github.com/traefik/traefik GoAll versionsNone
github.com/traefik/traefik/v3 GoAll versions3.6.9
github.com/traefik/traefik/v3 GoAll versions3.6.9
1 more packages
github.com/traefik/traefik/v3 GoAll versions3.6.9

Products include Traefik Traefik.

How do I fix CVE-2026-26998?

Upgrade github.com/traefik/traefik/v2 to 2.11.38 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-26998 being exploited?

There is no known exploitation of CVE-2026-26998 in the wild and no public exploit code.

All Traefik Traefik vulnerabilities

Sources

Also known as CLEANSTART-2026-IZ44500, GHSA-fw45-f5q2-2p4x, GO-2026-4593, MINI-4m5f-552h-3v8m, MINI-xh7v-j27j-rw8w.

Is CVE-2026-26998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free