CVE-2023-26111
7.5high
node-static and @nubosoftware/node-static vulnerable to Directory Traversal
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 1.44% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-5g97-whc9-8g7j
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @nubosoftware/node-static | before * | CVE List |
| node-static | before * | CVE List |
| node-static (npm) | up to 0.7.11 | GitHub Advisory Database |
| @nubosoftware/node-static (npm) | up to 0.7.11 | GitHub Advisory Database |
| @nubosoftware/node-static_project @nubosoftware/node-static | Not specified | NVD |
| node-static_project node-static | Not specified | 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 @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.
GitHub Advisory Database
node-static and its fork, @nubosoftware/node-static, are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
References
| https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 | exploit, third-party-advisory, web | |
| https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 | exploit, third-party-advisory, web | |
| https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc | exploit, third-party-advisory, web | |
| https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 | broken-link | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-26111 | advisory | |
| https://github.com/cloudhead/node-static | package | |
| https://github.com/cloudhead/node-static/blob/master/lib/node-static.js#23L160-L163 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26111 changed 2025-03-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5g97-whc9-8g7j changed 2025-09-26 | CC-BY-4.0 |
| NVD | CVE-2023-26111 changed 2026-06-17 | Public domain |