Insertion of Sensitive Information Into Sent Data Affecting github.com/traefik/traefik/v3/pkg/middlewares/customerrors package, versions <3.6.15>=3.7.0-ea.1 <3.7.0-rc.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMTRAEFIKTRAEFIKV3PKGMIDDLEWARESCUSTOMERRORS-16419311
  • published5 May 2026
  • disclosed4 May 2026
  • creditlalalala5678

Introduced: 4 May 2026

CVE-2026-41181  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade github.com/traefik/traefik/v3/pkg/middlewares/customerrors to version 3.6.15, 3.7.0-rc.3 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data in the errors middleware process. An attacker can obtain sensitive authentication headers, such as Authorization and Cookie, by triggering a backend response that matches the configured error status range, causing these headers to be forwarded to a separate error page service. This is only exploitable if the errors middleware is configured to use a distinct error page service.

CVSS Base Scores

version 4.0
version 3.1