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·1 visit

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

•2 minutes ago•CVE-2026-88007
9.1

CVE-2026-88007: Connection Hijacking and Unauthorized Session Reuse in Traefik HTTP/3 Proxying

CVE-2026-88007 is a critical vulnerability in Traefik where connection-bound backend authentication (like NTLM or Kerberos) is compromised over HTTP/3. Due to an uninitialized connection transport context, authenticated TCP sockets from a victim are leaked into a globally shared pool and subsequently reused by unrelated clients, leading to unauthenticated session hijacking.

Amit Schendel
Amit Schendel
0 views•7 min read
•about 2 hours ago•CVE-2026-88008
7.0

CVE-2026-88008: Middleware Security Bypass via Unencrypted HTTP/2 (h2c) Connection Upgrades in Traefik

An architectural flaw in the Traefik reverse proxy allows unauthenticated remote attackers to bypass security middlewares (such as basic authentication, IP allowlists, and forward authorization) by initiating an unencrypted HTTP/2 (h2c) upgrade request, causing the proxy to transition the connection into an opaque bi-directional TCP tunnel.

Amit Schendel
Amit Schendel
1 views•6 min read
•about 3 hours ago•CVE-2026-88006
6.5

CVE-2026-88006: Incorrect Authorization in Open WebUI OAuth Token Exchange

An incorrect authorization vulnerability in Open WebUI allows users to bypass Identity Provider (IdP) role revocations and demotions. Prior to version 0.11.1, the OAuth token exchange endpoint failed to execute user synchronization and group mapping checks, enabling users with active provider tokens to establish sessions with their cached, stale database roles.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 4 hours ago•CVE-2026-88016
7.1

CVE-2026-88016: Arbitrary Filesystem Metadata Modification and Directory Traversal in rclone

CVE-2026-88016 is a high-severity directory traversal and arbitrary metadata modification vulnerability in rclone versions prior to 1.75.1. When synchronizing directories with the `--links` and `--metadata` flags, rclone fails to apply sandboxing to directory metadata operations, leading to symbolic link following that allows modification of arbitrary files outside the target destination.

Amit Schendel
Amit Schendel
5 views•7 min read
•about 5 hours ago•GHSA-M3WP-48JR-VR4G
7.5

GHSA-m3wp-48jr-vr4g: Unbounded Remote Media Fetch and Video Frame Expansion DoS in mistral.rs

An unbounded resource consumption and server-side request forgery (SSRF) vulnerability in mistral.rs allows remote, unauthenticated attackers to cause a denial of service (DoS) or execute SSRF attacks. The flaw exists in mistralrs-server-core due to unchecked remote media fetching, infinite stream buffering, and unbounded FFmpeg frame extraction.

Amit Schendel
Amit Schendel
5 views•8 min read
•about 6 hours ago•CVE-2026-86083
7.7

CVE-2026-86083: Sandbox Escape and Remote Code Execution via Code-Printer Injection in n8n Legacy Expression Engine

A critical sandbox escape vulnerability exists in the legacy expression engine of n8n. By leveraging Shared Builtin Tampering combined with Code-Printer Injection, an authenticated attacker can hijack the mutable global JSON.stringify function. This hijacking allows the attacker to inject arbitrary Node.js source code into internal execution contexts during code generation, escaping the isolated-vm sandbox and achieving full remote code execution on the host system.

Amit Schendel
Amit Schendel
5 views•6 min read