{"id":"CVE-2026-126604","sourceIdentifier":"cve@gitlab.com","published":"2026-12-04T00:19:10.997","lastModified":"2026-12-04T00:19:10.997","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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\")`"}],"affected":[{"source":"cve@gitlab.com","affectedData":[{"vendor":"J++ / Newsworthy","product":"sanitize-filename","defaultStatus":"unaffected","repo":"https://gitlab.com/jplusplus/sanitize-filename","versions":[{"version":"0","lessThan":"1.2.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@gitlab.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":5.2}]},"weaknesses":[{"source":"cve@gitlab.com","type":"Primary","description":[{"lang":"en","value":"CWE-180"}]}],"references":[{"url":"https://gitlab.com/jplusplus/sanitize-filename/-/tags/1.2.1","source":"cve@gitlab.com"}]}