CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-88004

CVE-2026-88004: Security Bypass in Traefik Entrypoint Protections via Smuggled Request Trailers

Alon Barad
Alon Barad
Software Engineer

Sep 11, 2026·5 min read·22 visits

Executive Summary (TL;DR)

Unauthenticated attackers can bypass Traefik's entrypoint header filters (like X-Forwarded-For stripping) by smuggling security-sensitive headers in HTTP trailers. When Traefik's buffering or retry middlewares parse the request, the trailer values bypass sanitization and are forwarded to backends, which may trust and process them as authenticated headers.

An interpretation conflict and security bypass vulnerability in the entrypoint security mechanisms of Traefik allows unauthenticated remote attackers to bypass header-name sanitization and strip/reject policies. By smuggling sensitive, protected, or trusted header names inside an HTTP/1.1 chunked trailer or an HTTP/2 trailer, attackers can bypass Traefik's security defenses if a downstream backend merges trailers into the header namespace.

Vulnerability Overview

Traefik features built-in entrypoint middlewares designed to clean, sanitize, and validate incoming HTTP headers before requests are forwarded to internal backend endpoints. These defenses include forwardedHeaders (which strips potentially spoofed forwarding headers), aliasHeadersStrategy (which rejects conflicting header aliases), and underscoreHeadersStrategy (which drops headers containing underscore characters).

The vulnerability is exposed when Traefik is deployed with body-buffering or retry middlewares alongside these sanitization policies. Under this configuration, unauthenticated remote attackers can bypass header-based entrypoint security filters completely.

The flaw is classified under CWE-436 (Interpretation Conflict) and CWE-807 (Reliance on Untrusted Inputs in a Security Decision). This allows malicious actors to smuggle security-sensitive configurations past the edge proxy, resulting in subsequent privilege escalation and trust spoofing on downstream applications.

Root Cause Analysis

The core flaw is an interpretation conflict between how Traefik handles HTTP headers and how Go's standard library net/http package processes HTTP trailers. Under standard specifications, request trailers arrive at the absolute end of the request body, after the initial HTTP headers have been parsed and evaluated.

Traefik's entrypoint security middlewares inspect only the initial HTTP headers (req.Header) because trailers are not yet populated when routing begins. However, when buffering or retry middlewares are active, they must read the entire request body to memory or disk prior to routing. This is accomplished using standard library calls such as io.ReadAll(req.Body).

This read operation automatically forces the underlying Go parser to read the chunked request trailers and populate the req.Trailer map. When Traefik clones and forwards this request, it includes these parsed trailers. If a downstream backend web server or application framework automatically merges HTTP trailers into the main HTTP header namespace (such as for CGI compliance), the smuggled values bypass the edge proxy filters and are processed as trusted headers.

Code Analysis

The vulnerable proxy implementation failed to strip parsed trailers from the outgoing cloned request. The patch resolves this by iterating over the keys in the outgoing request trailer map (pr.Out.Trailer) and setting their values to nil before the request is processed by the transport layer.

This fix is implemented in pkg/proxy/httputil/proxy.go. Setting values to nil conforms to RFC 9112 Section 7.1.2 by stripping values, while keeping the keys preserves metadata hints as outlined in RFC 9110 Section 6.6.2.

The following diff demonstrates the implemented fix within the proxy builder request rewriter:

// pkg/proxy/httputil/proxy.go
// Forward the declared request trailer names, but never their values: they arrive
// after the header section, once routing and security decisions are made, and would
// otherwise reach the backend under a name sanitized in the header section.
// Discarding them is allowed by https://www.rfc-editor.org/rfc/rfc9112#section-7.1.2,
// and the names are kept as the hint of what was dropped described in
// https://www.rfc-editor.org/rfc/rfc9110#section-6.6.2
// Emptying the outgoing map is what makes this hold whatever the middleware chain did
// to the incoming request, as the transport only writes pr.Out.Trailer.
// Response trailers are unaffected.
for name := range pr.Out.Trailer {
	pr.Out.Trailer[name] = nil
}

Exploitation

Exploiting this flaw requires three primary conditions: Traefik must execute body-buffering or retry middleware, the targeted upstream backend must merge trailers into the header namespace, and the backend must make trust decisions based on those headers.

An attacker crafts an HTTP/1.1 or HTTP/2 request targeting an entrypoint protected by Traefik. The header section contains harmless metadata, but the request body includes a trailer payload carrying sensitive security keys.

When Traefik's buffering mechanism executes, Go's parser extracts the trailer content. The proxy forwards the completed request structure downstream. The backend parses the incoming trailer payload and updates its local header registry, overwriting previous security filters.

For example, an attacker can smuggle an X-Forwarded-For: 127.0.0.1 payload inside an HTTP chunked trailer:

POST /secure-endpoint HTTP/1.1
Host: vulnerable-app.com
Transfer-Encoding: chunked
Trailer: X-Forwarded-For
 
9
body data
0
X-Forwarded-For: 127.0.0.1

Impact Assessment

The security impact of this vulnerability is high in environments where internal routing, authentication, or authorization rely on reverse proxy headers. Bypassing entrypoint filters allows attackers to bypass IP blocklists, spoof origins, or inject administrative header values.

The vulnerability is assigned a CVSS v4.0 score of 7.0. The attack vector is Network, and attack complexity is classified as High because it requires specific backend merger behaviors and Traefik middleware configurations.

While Traefik itself is not compromised, the downstream systems are exposed to unauthorized privilege escalation. No known in-the-wild exploitation is documented at this time, but proof-of-concept coverage has been established in regression testing suites.

Remediation and Mitigation

The primary remediation strategy is upgrading Traefik to version v3.7.13 or newer. This version implements explicit trailer clearing to block values from traversing downstream boundaries.

When immediate patching is unfeasible, administrators should review downstream application environments. Disabling automatic trailer merging at the backend server (e.g., within application frameworks or reverse proxy agents) stops the attack at the destination layer.

Additionally, organizations should avoid authentication strategies that depend solely on the existence of a specific header. Validating header values against cryptographic tokens or signatures provides defense-in-depth security.

> [!NOTE] > While Traefik v3.7.13 strips trailer values, it still forwards trailer keys set to nil to conform to RFC 9110 metadata guidelines. Systems checking only the presence of a header key remain vulnerable to empty-value spoofing.

Fix Analysis (1)

Technical Appendix

CVSS Score
7.0/ 10
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

Affected Systems

Traefik deployments with buffering or retry middlewares enabled

Affected Versions Detail

Product
Affected Versions
Fixed Version
Traefik
Traefik
>= 3.2.0, < 3.7.13v3.7.13
AttributeDetail
CWE IDCWE-436 / CWE-807
Attack VectorNetwork
CVSS v4.0 Score7.0 (High)
Exploit Statuspoc
CISA KEV StatusNot Listed
Patch StatusPatched in v3.7.13

MITRE ATT&CK Mapping

T1036Masquerading
Defense Evasion
T1564Hide Artifacts
Defense Evasion
T1190Exploit Public-Facing Application
Initial Access
CWE-436
Interpretation Conflict

This weakness occurs when two security or transport entities interpret an HTTP request or its fields differently, leading to a bypass of security filters.

Vulnerability Timeline

Vulnerability fix commit submitted
2026-09-03
GitHub Security Advisory and CVE-2026-88004 published
2026-09-10
Traefik version 3.7.13 released
2026-09-10

References & Sources

  • [1]Official GitHub Security Advisory
  • [2]Vulnerability Fix Pull Request
  • [3]Official Git Fix Commit
  • [4]Traefik Release Tags (v3.7.13)
  • [5]CVE-2026-88004 NVD Listing
  • [6]CVE-2026-88004 CVE.org Authoritative Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 24 hours ago•CVE-2026-107844
5.3

CVE-2026-107844: Path Traversal Vulnerability in Contao ImagesController

A path traversal vulnerability (CWE-22) in Contao CMS allows unauthenticated remote attackers to bypass directory boundary restrictions in ImagesController and access files within the project directory.

Amit Schendel
Amit Schendel
8 views•5 min read
•1 day ago•CVE-2026-107848
3.5

CVE-2026-107848: Cross-Site Request Forgery (CSRF) in Contao Backend Actions via GET Requests

Contao Open Source CMS versions 4.0.0 through 5.3.49 and 5.4.0-RC1 through 5.7.11 contain a Cross-Site Request Forgery (CSRF) vulnerability in backend parameter handling. The `RequestTokenListener` component validates anti-CSRF tokens solely for HTTP POST requests, while GET-based declarative guards run only when an `act` parameter is present in the query string. Consequently, custom backend actions dispatched via alternative parameters such as `key=` can execute without CSRF token verification when triggered by an authenticated user.

Amit Schendel
Amit Schendel
7 views•5 min read
•1 day ago•CVE-2026-107843
5.3

CVE-2026-107843: Unthrottled Activation Email Resend and Account Enumeration in Contao CMS

Contao CMS versions 4.1.0 through 5.3.49 and 5.4.0-RC1 through 5.7.11 fail to validate form submission tokens and enforce rate limiting when processing activation email resend requests via HTTP POST, enabling resource exhaustion and account state enumeration.

Amit Schendel
Amit Schendel
8 views•4 min read
•1 day ago•CVE-2026-107842
5.3

CVE-2026-107842: Information Disclosure via Stale Indexing in Contao Search Module

An information disclosure vulnerability in Contao CMS allows unauthenticated site visitors to view protected page titles, URLs, and text excerpts through search queries when protected page indexing is disabled after previously being enabled.

Amit Schendel
Amit Schendel
10 views•4 min read
•1 day ago•GHSA-G38J-7V97-X298
6.5

GHSA-G38J-7V97-X298: Missing Authorization Check in Vikunja CalDAV Task Relation Creation

In Vikunja prior to version 2.6.0, relation creation via the CalDAV endpoint fails to invoke the TaskRelation.CanCreate authorization check. This missing access control allows an authenticated user to establish unauthorized relationships and perform write operations against any task, provided its unique identifier (UID) is known.

Alon Barad
Alon Barad
12 views•5 min read
•1 day ago•GHSA-3HC7-R24J-RPWC
6.8

GHSA-3hc7-r24j-rpwc: Cross-Project Task Disclosure via Subtask Expansion in Vikunja

A cross-project information disclosure vulnerability in Vikunja allows authenticated users with read access to one project to view private task details from unauthorized projects via subtask expansion parameters.

Alon Barad
Alon Barad
9 views•5 min read