All vulnerabilities

Servers and applications

CVE-2026-26998

ForwardAuth Middleware Allows Unbounded Response Body, Causing Potential Denial of Service

Severity
Medium 4.4
Published
4 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.11.38, 3.6.9
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-fw45-f5q2-2p4x
Sources
NVD, Project advisories (GitHub)

Description

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.

The ForwardAuth middleware reads the entire authentication server response body into memory using io.ReadAll with no size limit. A single HTTP request through a ForwardAuth-protected route can cause the Traefik process to allocate gigabytes of memory and be killed by the OOM killer, resulting in complete denial of…

From traefik/traefik's security advisory. Shortened; the full text is there.

Workarounds

No workaround available.

Workarounds as given by traefik/traefik's security advisory.

Affected software

SoftwareAffected versions
TraefikServers and applications · cpe:a:traefik:traefik
  • Every version before 2.11.38
  • From 3.0.0 before 3.6.9
TraefikServers and applications · github:traefik/traefik
  • Every version before 2.11.38
  • Every version before 3.6.9

About Traefik

HTTP reverse proxy and load balancer

From Wikidata, CC0 1.0.
Docker Hub pulls
3,604,536,669Docker Hub, 15 Nov 2026
GitHub stars
65,551GitHub, 15 Nov 2026
Forks
6,312GitHub, 15 Nov 2026
Latest release
v3.7.19GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
Expat licenseWikidata
Written in
GoWikidata
First published on GitHub
13 Sept 2015GitHub

Release lines

ReleaseLatestSecurity fixes
3.73.7.19Yes
3.63.6.25Ended 16 Aug 2026
3.53.5.6Ended 7 Nov 2025
3.43.4.5Ended 23 Jul 2025
3.33.3.7Ended 5 May 2025
3.23.2.5Ended 6 Jan 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-26998
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-26998
  • GitHub Advisory Database https://github.com/advisories/GHSA-fw45-f5q2-2p4x
  • github.com https://github.com/traefik/traefik/security/advisories/GHSA-fw45-f5q2-2p4x