# CVE-2023-26152: static-server Path Traversal vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-10-03T05:00:02.779Z
- Modified: 2026-06-17T05:42:47.667Z
- Also known as: GHSA-v834-rhv4-65m3
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- static-server: before *
- static-server (npm): up to 2.2.1
- nbluis static-server: up to 3.0.0

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341> (exploit, third-party-advisory, web)
- <https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d> (exploit, third-party-advisory, web)
- <https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26152> (advisory)
- <https://github.com/nbluis/static-server> (package)
- <https://github.com/nbluis/static-server/blob/master/server.js#L218-L223> (web)

## Sources

- CVE List: [CVE-2023-26152](https://www.cve.org/CVERecord?id=CVE-2023-26152), CVE Terms of Use, modified 2024-09-23
- GitHub Advisory Database: [GHSA-v834-rhv4-65m3](https://github.com/advisories/GHSA-v834-rhv4-65m3), CC-BY-4.0, modified 2025-09-26
- NVD: [CVE-2023-26152](https://nvd.nist.gov/vuln/detail/CVE-2023-26152), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26152 · Whole record: https://cve.day/CVE-2023-26152.json · Rebuilt by cve.day 2026-11-25T22:58:28.351Z
