# CVE-2025-66490: Traefik doesn't Prevent Path Normalization Bypass in Router + Middleware Rules

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.61% (percentile 44, 2026-11-28)
- **CWE:** CWE-436
- **Aliases:** GHSA-gm3x-23wp-hc2c, GO-2025-4206
- **Published:** 2025-12-08T16:42:30.000Z
- **Modified:** 2026-10-14T22:10:00.210Z

## Who should check

- Projects that depend on Go package github.com/traefik/traefik (\<= 1.7.34)
- Projects that depend on Go package github.com/traefik/traefik/v2 (\< 2.11.32)
- Projects that depend on Go package github.com/traefik/traefik/v3 (\< 3.6.3)
- Anyone running traefik github.com/traefik/traefik/v3  \< 3.6.3; github.com/traefik/traefik/v2 \< 2.11.32; github.com/traefik/traefik \<= 1.7.34

## Description

Traefik is an HTTP reverse proxy and load balancer. For versions prior to 2.11.32 and 2.11.31 through 3.6.2, requests using PathPrefix, Path or PathRegex matchers can bypass path normalization. When Traefik uses path-based routing, requests containing URL-encoded restricted characters (/, \\, Null, ;, ?, \#) can bypass the middleware chain and reach unintended backends. For example, a request to http://mydomain.example.com/admin%2F could reach service-a without triggering my-security-middleware, bypassing security controls for the /admin/ path. This issue is fixed in versions 2.11.32 and 3.6.3.

## Affected and fixed versions

- Go `github.com/traefik/traefik`: affected \<= 1.7.34; fixed no fix listed yet (osv)
- Go `github.com/traefik/traefik/v2`: affected \< 2.11.32; fixed 2.11.32 (osv)
- Go `github.com/traefik/traefik/v3`: affected \< 3.6.3; fixed 3.6.3 (osv)
- traefik: github.com/traefik/traefik/v3  \< 3.6.3; github.com/traefik/traefik/v2 \< 2.11.32; github.com/traefik/traefik \<= 1.7.34 (cvelist)

## Mitigation

- Upgrade github.com/traefik/traefik/v2 to 2.11.32 or later.
- Upgrade github.com/traefik/traefik/v3 to 3.6.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-66490. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-66490.md
Affected: github.com/traefik/traefik <= 1.7.34; github.com/traefik/traefik/v2 < 2.11.32; github.com/traefik/traefik/v3 < 3.6.3
Fixed in: 2.11.32, 3.6.3

Steps:
1. Search this machine and project for github.com/traefik/traefik (Go), github.com/traefik/traefik/v2 (Go), github.com/traefik/traefik/v3 (Go), traefik: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-66490 being exploited?

There is no confirmed exploitation: CVE-2025-66490 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-66490?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-66490?

github.com/traefik/traefik \<= 1.7.34; github.com/traefik/traefik/v2 \< 2.11.32; github.com/traefik/traefik/v3 \< 3.6.3.

### Is there a fix for CVE-2025-66490?

Yes. Fixed in 2.11.32, 3.6.3. Upgrade github.com/traefik/traefik/v2 to 2.11.32 or later. Upgrade github.com/traefik/traefik/v3 to 3.6.3 or later.

### How do I check if I'm affected by CVE-2025-66490?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/traefik/traefik/security/advisories/GHSA-gm3x-23wp-hc2c>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-66490>
- other: <https://github.com/traefik/traefik/releases/tag/v2.11.32>
- other: <https://github.com/traefik/traefik/releases/tag/v3.6.4>
- other: <https://github.com/traefik/traefik>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-66490>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gm3x-23wp-hc2c> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4206> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-66490> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-66490>
