CVE-2024-56198 - CVE House
Back to Database
Status published Critical CVE-2024-56198

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

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-56198

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

path-sanitizer
Vulnerable Versions:
< 3.1.0

Timeline

Official Publish: December 31st, 2024
Last Modified: December 31st, 2024
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)