{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26152","id":"CVE-2023-26152","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.","descriptionLong":"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.","published":"2023-10-03T05:00:02.779Z","updated":"2026-10-28T02:30:48.911813539Z","reserved":"2023-02-20T10:28:48.929Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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","rating":"high","source":"snyk"},"metrics":[{"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","rating":"high","source":"snyk"},{"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","rating":"high","source":"snyk.io"},{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":["static-server"],"affectedProducts":[{"vendor":"n/a","product":"static-server","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"static-server","purl":"pkg:npm/static-server","ranges":["<=2.2.1"],"fixed":[],"advisory":"GHSA-v834-rhv4-65m3"}],"cwes":["CWE-22"],"aliases":["GHSA-v834-rhv4-65m3"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26152.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152","tags":["advisory"]},{"url":"https://github.com/nbluis/static-server","tags":["package"]},{"url":"https://github.com/nbluis/static-server/blob/master/server.js#L218-L223","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.0136,"epssPercentile":0.72314,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26152","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26152","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26152","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v834-rhv4-65m3","ok":true,"note":"GHSA-v834-rhv4-65m3"},{"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-2023-26152","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}