7.5high
static-server Path Traversal vulnerability
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.36% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-v834-rhv4-65m3
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| static-server | before * | CVE List |
| static-server (npm) | up to 2.2.1 | GitHub Advisory Database |
| nbluis static-server | up to 3.0.0 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Todas las versiones del paquete static-server son vulnerables a Directory Traversal debido a una sanitización de entrada inadecuada pasada a través de la función validPath de server.js.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26152 changed 2024-09-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v834-rhv4-65m3 changed 2025-09-26 | CC-BY-4.0 |
| NVD | CVE-2023-26152 changed 2026-06-17 | Public domain |