Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
CVE-2023-26111: Node-Static Vulnerable to Malicious File Access
CVE-2023-26111 · published 3 years ago
Summary
All versions of Node-Static are at risk of allowing attackers to access files they shouldn't be able to. This is a security risk because it could allow hackers to access sensitive data on your server. Update to a fixed version of Node-Static to protect your system.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| npm | cloudhead | node-static | <= 0.7.11 |
| npm | nubosoftware | node-static | <= 0.7.11 |
| – | \@nubosoftware\/node-static_project | \@nubosoftware\/node-static |
All versions
cpe:2.3:a:\@nubosoftware\/node-static_project:\@nubosoftware\/node-static:-:*:*:*:*:node.js:*:* |
| – | node-static_project | node-static |
All versions
cpe:2.3:a:node-static_project:node-static:-:*:*:*:*:node.js:*:* |
Original advisory text
All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() metho...
All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26111
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L...
- https://github.com/advisories/GHSA-5g97-whc9-8g7j
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L... Broken Link
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-22Path Traversal
Timeline
Published6 Mar 2023
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta