Vulnerabilities / CVE-2026-48020

critical

CVE-2026-48020

github.com/traefik/traefik: Traefik: Authentication bypass in StripPrefix middleware allows unauthorized access to protected paths

Published Modified CWE 288, 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
GHSA7.8CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high).

Description

Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.48, 3.6.19, and 3.7.3, there is a high severity vulnerability in Traefik's StripPrefix middleware that allows an unauthenticated attacker to bypass route-level authentication and authorization. When a public router matches on a PathPrefix rule and applies the StripPrefix middleware, a request path containing .. or its percent-encoded form %2e%2e can match the public route at routing time and then, after the prefix is stripped and the path is normalized, resolve to a path served by a separate, authenticated router. As a result, an attacker can reach protected backend paths — such as admin or internal configuration endpoints — without satisfying the authentication middleware attached to the protected router. This vulnerability is fixed in 2.11.48, 3.6.19, and 3.7.3.

Affected packages and fixed versions

SourcePackageFixed in
alpine edgetraefik3.7.7-r0
go::GitHub Security Advisory Gogithub.com/traefik/traefik/v2, github.com/traefik/traefik/v32.11.48 and 1 more
minimostraefik-3, traefik-fips-33.7.3-r0
rapidfort alpine 3.20traefik3.7.7-r0
rapidfort alpine 3.21traefik3.7.7-r0
rapidfort alpine 3.22traefik3.7.7-r0
rapidfort alpine 3.23traefik3.7.7-r0
rapidfort alpine 3.24traefik3.7.7-r0
Show all 10 entries from 8 sources
SourcePackageFixed in
alpine edgetraefik3.7.7-r0
go::GitHub Security Advisory Gogithub.com/traefik/traefik/v22.11.48
go::GitHub Security Advisory Gogithub.com/traefik/traefik/v33.6.19, 3.7.3
minimostraefik-33.7.3-r0
minimostraefik-fips-33.7.3-r0
rapidfort alpine 3.20traefik3.7.7-r0
rapidfort alpine 3.21traefik3.7.7-r0
rapidfort alpine 3.22traefik3.7.7-r0
rapidfort alpine 3.23traefik3.7.7-r0
rapidfort alpine 3.24traefik3.7.7-r0

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.