HIGH · CVSS 7.4 Published: 2026-12-04
CVE-2026-126604 — Technical Security Advisory & CVSS Profile
sanitize-filename (PyPI) < 1.2.1 is vulnerable to path traversal attacks. sanitize() removed blacklisted characters before applying Unicode NFKD normalization. Characters such as FULLWIDTH SOLIDUS (U+FF0F), FULLWIDTH REVERSE SOLIDUS (U+FF3C) and SMALL REVERSE SOLIDUS (U+FE68) passed the blacklist and became real path separators in the returned value. An attacker who controls the input filename could make sanitize() return an absolute path. Example, `sanitize("\uFF0F..\uFF0F..\uFF0F..\uFF0Fetc\uFF0Fpasswd")`
Technical Metadata
| Identifier | CVE-2026-126604 |
|---|---|
| Base Severity / Score | HIGH (7.4 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Weakness Classification | CWE-180 |
| Archive Categories | HIGH Advisories · 2026 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
Related Security Advisories
CVE-2026-118743 CRITICAL 9.6
CVE-2026-133300 CRITICAL 10
CVE-2026-77300 HIGH 7.1
CVE-2026-144446 HIGH 7.8
CVE-2026-144447 HIGH 7.8
CVE-2026-144448 HIGH 7.8
CVE-2026-144449 HIGH 7.8
CVE-2026-144450 HIGH 7.8