Read the docs
TI-2024-37168 Aliases CVE-2024-56198GHSA-94p5-r7cc-3rpr

path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability

Priority HIGH 81CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

path-sanitizer is a simple lightweight npm package for sanitizing paths to prevent Path Traversal. Prior to 3.1.0, the filters can be bypassed using .=%5c which results in a path traversal. This vulnerability is fixed in 3.1.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00743 54th percentileScored 2026-11-07
Fix Fixed path-sanitizer (cabraviva): 3.1.0path-sanitizer (npm): 3.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cabravivapath-sanitizerbefore 3.1.03.1.0Patch availableCNA
—path-sanitizer (npm)before 3.1.03.1.0Patch availableGHSA-94p5-r7cc-3rpr
  • path-sanitizer Vendorcabraviva Affected before 3.1.0 Fixed in 3.1.0 Patch available CNA
  • path-sanitizer (npm) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-94p5-r7cc-3rpr

Remediation

  • Fix · CNA path-sanitizer (cabraviva) Fixed in 3.1.0
  • Fix · GHSA-94p5-r7cc-3rpr path-sanitizer (npm) Fixed in 3.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-56198
  2. 2026-10-03 Alias added: GHSA-94p5-r7cc-3rpr

References

Sources