CVE-2023-26111
node-static and @nubosoftware/node-static vulnerable to Directory Traversal
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
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.
- Record
CVE-2023-26111- 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 - Weakness
- CWE-22, CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2023-0884
7.5
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.
- Record
EUVD-2023-0884- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5g97-whc9-8g7j
7.5
node-static and @nubosoftware/node-static vulnerable to Directory Traversal
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.
- Record
GHSA-5g97-whc9-8g7j- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2023-26111- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-5g97-whc9-8g7j
7.5
node-static and @nubosoftware/node-static vulnerable to Directory Traversal
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.
- Record
GHSA-5g97-whc9-8g7j- 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
node-staticnpm |
through 0.7.11 | None known |
@nubosoftware/node-staticnpm |
through 0.7.11 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-26111 is a high vulnerability (CVSS 7.5) in Node-static Project Node-static, published March 6, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.44%, the 73rd percentile. No source names a fixed version.
References
security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927
security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928
gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc
github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163
nvd.nist.gov/vuln/detail/CVE-2023-26111
github.com/cloudhead/node-static/blob/master/lib/node-static.js
github.com/advisories/GHSA-5g97-whc9-8g7j
github.com/cloudhead/node-static