# CVE-2023-51661: Filesystem sandbox not enforced in wasmer-cli

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-13T13:32:38.000Z
- Modified: 2026-09-10T03:49:59.270Z
- Also known as: GHSA-4mq4-7rw3-vm5j
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Wasmer is a WebAssembly runtime that enables containers to run anywhere: from Desktop to the Cloud, Edge and even the browser. Wasm programs can access the filesystem outside of the sandbox. Service providers running untrusted Wasm code on Wasmer can unexpectedly expose the host filesystem. This vulnerability has been patched in version 4.2.4.

(As written by CVE List.)

## Affected

- wasmerio wasmer: >= 3.0.0, < 4.2.4
- wasmer-cli (crates.io): from 3.0.0 before 4.2.4
- wasmer wasmer: from 3.0.0 before 4.2.4

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/wasmerio/wasmer/security/advisories/GHSA-4mq4-7rw3-vm5j> (exploit, vendor-advisory, web)
- <https://github.com/wasmerio/wasmer/issues/4267> (issue-tracking, web)
- <https://github.com/wasmerio/wasmer/commit/4d63febf9d8b257b0531963b85df48d45d0dbf3c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51661> (advisory)
- <https://github.com/wasmerio/wasmer/commit/e3923612c23123025c26f982d390e34df7df030f> (web)
- <https://github.com/wasmerio/wasmer> (package)

## Sources

- CVE List: [CVE-2023-51661](https://www.cve.org/CVERecord?id=CVE-2023-51661), CVE Terms of Use, modified 2025-04-17
- GitHub Advisory Database: [GHSA-4mq4-7rw3-vm5j](https://github.com/advisories/GHSA-4mq4-7rw3-vm5j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-51661](https://nvd.nist.gov/vuln/detail/CVE-2023-51661), Public domain, modified 2026-06-17

---

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