CVE-2023-26126 json
m.static Directory Traversal vulnerability
published 2023-05-10 3 y ago modified 2026-06-17 4 mo ago also GHSA-vcxh-qvgr-9fw9 , EUVD-2023-1627
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | m.static | <=2.2.0 |
no fix listed |
Affected products
- n/a m.static
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
security.snyk.io
/vuln/SNYK-JS-MSTATIC-3244915
web, exploit, third-party-advisory
-
gist.github.com
/lirantal/dcb32c11ce87f5aafd2282b90b4dc998
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-26126
advisory
-
github.com
/ivoputzer/m.static
package
-
github.com
/ivoputzer/m.static/blob/master/index.js#L19
web
Sources
- CVE List CVE-2023-26126
- GitHub Advisory GHSA-vcxh-qvgr-9fw9
- NVD CVE-2023-26126
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.