{"id":"CVE-2023-26152","details":"All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.","aliases":["GHSA-v834-rhv4-65m3"],"modified":"2026-08-12T03:51:46.098059066Z","published":"2023-10-03T05:00:02.779Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26152.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"*"}]}],"cna_assigner":"snyk"},"references":[{"type":"WEB","url":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d"},{"type":"WEB","url":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26152.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nbluis/static-server","events":[{"introduced":"0"},{"last_affected":"437e6dad7a67c3ab2b129024a74a6b1d51e79823"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"3.0.0"}]}}],"versions":["3.0.0","2.1.0","2.0.6","2.0.4","2.0.3","2.0.2","2.0.0","1.0.2","1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26152.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"}]}