{"id":"CVE-2023-26152","aliases":["EUVD-2023-2815","GHSA-v834-rhv4-65m3"],"status":"published","title":"static-server Path Traversal vulnerability","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0136,"percentile":0.71947,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2023-10-03T05:00:02Z","modified":"2026-10-28T02:30:48Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"static-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.2.1"}]}]},{"source":"osv","ecosystem":"npm","package":"static-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.2.1"}]}]}],"products":[{"vendor":"nbluis","product":"static-server"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223","tags":["x_transferred","Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152","tags":["advisory"]},{"url":"https://github.com/nbluis/static-server/blob/master/server.js#L218-L223","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v834-rhv4-65m3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26152.json","tags":["advisory"]},{"url":"https://github.com/nbluis/static-server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26152","description":"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.","status":"published","published":"2023-10-03T05:00:02.779Z","modified":"2024-09-23T13:30:21.983Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-2815","description":"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.","status":"published","published":"2023-10-03T05:00:02Z","modified":"2024-09-23T13:30:21Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:17.441522Z"}],"ghsa":[{"id":"GHSA-v834-rhv4-65m3","title":"static-server Path Traversal vulnerability","description":"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.","status":"published","published":"2023-10-03T06:30:26Z","modified":"2025-09-26T21:39:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:58.965005Z"}],"nvd":[{"id":"CVE-2023-26152","description":"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.","status":"published","published":"2023-10-03T05:15:50.58Z","modified":"2026-06-17T05:42:47.667Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:08:35.022405Z"}],"osv":[{"id":"CVE-2023-26152","description":"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.","status":"published","published":"2023-10-03T05:00:02.779Z","modified":"2026-10-28T02:30:48.911813539Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"GHSA-v834-rhv4-65m3","title":"static-server Path Traversal vulnerability","description":"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.","status":"published","published":"2023-10-03T06:30:26Z","modified":"2025-09-26T21:39:29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
