# CVE-2023-26126: m.static Directory Traversal vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-05-10T05:00:01.474Z
- Modified: 2026-06-17T05:42:44.053Z
- Also known as: GHSA-vcxh-qvgr-9fw9
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- m.static: before *
- m.static (npm): up to 2.2.0
- m.static_project m.static: up to 2.2.0

## Every score

- snyk: 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`
- GitHub: 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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915> (exploit, third-party-advisory, web)
- <https://gist.github.com/lirantal/dcb32c11ce87f5aafd2282b90b4dc998> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26126> (advisory)
- <https://github.com/ivoputzer/m.static> (package)
- <https://github.com/ivoputzer/m.static/blob/master/index.js#L19> (web)

## Sources

- CVE List: [CVE-2023-26126](https://www.cve.org/CVERecord?id=CVE-2023-26126), CVE Terms of Use, modified 2025-01-27
- GitHub Advisory Database: [GHSA-vcxh-qvgr-9fw9](https://github.com/advisories/GHSA-vcxh-qvgr-9fw9), CC-BY-4.0, modified 2025-09-26
- NVD: [CVE-2023-26126](https://nvd.nist.gov/vuln/detail/CVE-2023-26126), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26126 · Whole record: https://cve.day/CVE-2023-26126.json · Rebuilt by cve.day 2026-11-25T22:58:24.039Z
