CVE-2023-26111
JSON

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 packageVersionsReported by
@nubosoftware/node-staticbefore *CVE List
node-staticbefore *CVE List
node-static (npm)up to 0.7.11GitHub Advisory Database
@nubosoftware/node-static (npm)up to 0.7.11GitHub Advisory Database
@nubosoftware/node-static_project @nubosoftware/node-staticNot specifiedNVD
node-static_project node-staticNot specifiedNVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2023-26111 changed 2025-03-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-5g97-whc9-8g7j changed 2025-09-26CC-BY-4.0
NVDCVE-2023-26111 changed 2026-06-17Public domain