{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56198","id":"CVE-2024-56198","title":"path-sanitizer allows bypassing the existing filters to achieve path-traversal 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.","descriptionLong":"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.","published":"2024-12-31T15:18:12.330Z","updated":"2026-10-28T02:31:02.851333013Z","reserved":"2024-12-18T18:29:25.895Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["cabraviva path-sanitizer"],"affectedProducts":[{"vendor":"cabraviva","product":"path-sanitizer","defaultStatus":null,"versions":[{"version":"< 3.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"path-sanitizer","purl":"pkg:npm/path-sanitizer","ranges":["<3.1.0"],"fixed":["3.1.0"],"advisory":"GHSA-94p5-r7cc-3rpr"}],"cwes":["CWE-22"],"aliases":["GHSA-94p5-r7cc-3rpr"],"references":[{"url":"https://github.com/cabraviva/path-sanitizer/security/advisories/GHSA-94p5-r7cc-3rpr","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cabraviva/path-sanitizer/commit/b6d2319eac910dffdfacc8460f5b5cc5a1518ead","tags":["x_refsource_MISC","fix","web"]},{"url":"https://www.loom.com/share/b766ece5193842848ce7562fcd559256?sid=fd826eb6-0eee-4601-bf0e-9cfee5c56e9d","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56198.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56198","tags":["advisory"]},{"url":"https://github.com/cabraviva/path-sanitizer","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00743,"epssPercentile":0.55504,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56198","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56198","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56198","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-94p5-r7cc-3rpr","ok":true,"note":"GHSA-94p5-r7cc-3rpr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56198","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}