Advisory

GO-2026-5532

Also known as: CVE-2026-41181, GHSA-p6hg-qh38-555r

Summary

Authorization and Cookie headers forwarded to error page service in github.com/traefik/traefik

Details

Traefik's errors middleware by default forwards all original request headers to the error page service. If the error page service is in a separate trust domain, this can lead to the disclosure of sensitive information such as Authorization or Cookie headers.

The fix adds an errorRequestHeaders option to the Errors middleware, allowing users to explicitly list which headers should be forwarded.

Severity

Not rated by the source.

Dates

Published
2026-08-11 20:19 UTC
Modified
2026-08-11 20:45 UTC

Affected packages and fixes

github.com/traefik/traefik

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/traefik/traefik/v2

Go · All systems

Affected

  • introduced 0, fixed 2.11.44 (semver)

Fixed versions

2.11.44

Fix

github.com/traefik/traefik/v3

Go · All systems

Affected

  • introduced 0, fixed 3.6.15, introduced 3.7.0-rc.1, fixed 3.7.0-rc.3 (semver)

Fixed versions

3.6.15, 3.7.0-rc.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences