CVE-2023-26152
HIGH 7.5CVSS 3.1static-server Path Traversal vulnerability
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
- 3 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-v834-rhv4-65m3
- Sources
- NVDJSONOSV GHSA-v834-rhv4-65m3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nbluis | static-servercpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:* |
<= 3.0.0 | |
| OSV | npm | static-server | <= 2.2.1 |
References
- 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://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 · Exploit, Third Party Advisory, WEB
- 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
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Oct 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Oct 2023)