Skip to main content
VulnerabilityPublished

CVE-2026-126604: J++ / Newsworthy sanitize-filename · Incorrect Behavior Order: Validate Before Canonicalize

Affects J++ / Newsworthy sanitize-filenameSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High : upgrade to 1.2.1 soon.

Data as of 3 Dec 2026, 22:47 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitLab)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
J++ / Newsworthysanitize-filenameAffected
  • <1.2.1
Fixed in
  • 1.2.1

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.

References

Community reviews

Loading reviews…