CVE-2026-126604: J++ / Newsworthy sanitize-filename · Incorrect Behavior Order: Validate Before Canonicalize
Affects J++ / Newsworthy sanitize-filenameSource CVE Database V5
Not known to be exploited · CVSS 7.4 High : upgrade to 1.2.1 soon.
Data as of 3 Dec 2026, 22:47 UTC
Thin evidence
One scorer or none| CNA (GitLab) | CVSS 3.1 | 7.4 |
|---|
- Patch
- Available – fixed in 1.2.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade J++ / Newsworthy sanitize-filename to 1.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| J++ / Newsworthysanitize-filename | Affected
| Fixed in
|
AI-suggested
Upgrade sanitize-filename to version 1.2.1 or later, where the vulnerability is fixed by correcting the order of validation and canonicalization. No other mitigation is required as the fix is available and official.
Description
sanitize-filename versions prior to 1.2.1 are vulnerable to path traversal attacks due to improper ordering of validation and canonicalization steps. The sanitize() function removes blacklisted characters before applying Unicode NFKD normalization, allowing certain Unicode characters that resemble path separators to bypass the blacklist and be interpreted as actual path separators. This can enable an attacker controlling the input filename to craft absolute paths, potentially leading to unauthorized file access.