Skip to content
Annuaire
Sections
Cybersecurity

Traefik: three flaws fixed, upgrade to v3.8.0, v3.7.20 or v2.11.64

L’essentiel

Traefik fixes three flaws, including an unauthenticated denial of service via Brotli. Affected versions, fixes and secrets to change.

À retenir

Traefik fixes three flaws, including an unauthenticated denial of service via Brotli. Affected versions, fixes and secrets to change.

The Traefik maintainers published three security advisories on 24 November 2026, relayed the same day by CERT-FR. The most serious allows an unauthenticated attacker to exhaust the proxy’s memory and cut off all the routes it serves. The fixes are in v3.8.0, v3.7.20 and v2.11.64; branches 3.0 to 3.6 will not receive any.

What CERT-FR reports

Traefik is an open-source reverse proxy, often placed in front of Docker containers or Kubernetes clusters to route traffic and manage certificates. In its advisory CERTFR-2026-AVI-1611, the French agency places these flaws under three risk categories: remote denial of service, breach of data confidentiality and security policy bypass. It lists as vulnerable versions prior to v3.7.20 for the 3 series, prior to v2.11.64 for the 2 series, as well as the 3.8 pre-releases. No CVE identifier is associated with these three flaws at the time of publication: they are referenced only by their GHSA numbers, assigned on GitHub.

Brotli compression that can bring down the proxy

The first advisory, GHSA-3rh5-223h-cpwr, is rated high severity. It concerns the Compress middleware, which compresses responses on the fly. When a client announces that it accepts Brotli encoding, Traefik keeps several megabytes of compressor state in memory for each response until sending is complete, and this volume grows with the size of the response without any cap. An attacker can therefore open many compressed responses in parallel, for example over a single HTTP/2 connection, until the process’s memory is saturated. The result: all services published behind the instance become unreachable. No authentication is required.

The maintainers explain that this is the Brotli counterpart of a flaw already fixed for the zstd algorithm. All version 3 releases up to 3.7.19 are affected, as are the three 3.8 pre-releases; the 2 series, which does not support Brotli, is not. The advisory offers no temporary workaround and refers only to the update. It credits two researchers and states that their report was submitted with the help of an AI.

Secrets leaking into debug logs

The second advisory, GHSA-42×2-976f-ph52, is scored 5.6 out of 10 (CVSS 4.0). When the log level is set to DEBUG, Traefik writes its static configuration to its logs, masking sensitive fields, but this masking was incomplete. Three items appeared in clear text: the Docker API password used by the Docker and Swarm providers, the Knative provider token and the headers sent by the HTTP provider. These headers also appeared in the diagnostic archives generated for support and in the anonymous usage statistics.

Exploitation requires already having access to these files, hence a moderate score. But in many organisations, logs are centralised and readable by numerous teams, or even passed on to contractors. Versions 3.0.0 to 3.7.19 and the 3.8 pre-releases are affected; the 2 series is not, as these options only appeared with v3.

A trailing dot that bypassed certificate authentication

The third advisory, GHSA-9657-c2gv-wjpj, is scored 6.3 out of 10 and also affects the 2 series. The Host and HostSNI routing rules treat a hostname ending with a dot, such as “example.com.”, as equivalent to the same name without the dot. The check that detects conflicts between TLS options, however, did not make this equivalence. A router declared with the trailing dot could therefore serve a domain that another router protects with client certificate authentication, without Traefik reporting an error, even with the core.strictTLSOptions option enabled.

Exploiting it requires being able to define a router: the scenario in question is that of an instance shared between several teams or customers. The maintainers acknowledge that this flaw escaped three previous fixes affecting the same mechanism. It affects versions 2.0.0 to 2.11.63, 3.0.0 to 3.7.19 and the 3.8 pre-releases.

Which version to install

  • 3.7 series: upgrade to v3.7.20, which fixes all three flaws.
  • 3.8 pre-releases (rc.1 to rc.3): upgrade to the final v3.8.0.
  • 2.11 series: upgrade to v2.11.64; only the trailing-dot flaw affects it.
  • 3.0 to 3.6 series: they are end-of-life and no fix is planned; the only way out is to migrate to 3.7 or 3.8.

As a precaution, any organisation that has run Traefik in DEBUG mode, shared a diagnostic archive or left usage statistics enabled would be well advised to change the secrets concerned: Docker API password, Knative token, credentials passed in headers to the HTTP provider. The advisories do not explicitly require this, but a secret written to a log must be considered exposed.

Frequently asked questions

I use Traefik 3.5: will I receive a fix?

No. The maintainers state that branches 3.0 to 3.6 are no longer maintained and will not receive these fixes. You need to migrate to v3.7.20 or v3.8.0, checking beforehand for configuration changes between versions.

Is Traefik v2 affected?

Partially. Only the flaw related to hostnames ending with a dot affects the 2 series, from 2.0.0 to 2.11.63. Version 2.11.64 fixes it. The Brotli compression and secrets-in-logs issues affect only the 3 series.

Is there a workaround while waiting for the update?

None of the three advisories mentions an official workaround, and all recommend updating. In the meantime, disabling DEBUG logging reduces the risk of secrets leaking, and checking that no router declares a domain with a trailing dot limits the bypass of certificate authentication.

Sources

Sur votre appareil

Comprendre cet article

L’analyse utilise l’intelligence locale du navigateur lorsqu’elle existe, sinon un résumé extractif. Le texte n’est envoyé à aucun service extérieur.

Facebook X LinkedIn

Ensuite A lire aussi

Free, no spam, one-click unsubscribe.