# CVE-2024-38358: Symlink bypasses filesystem sandbox in wasmer

- Severity: Low 2.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-06-07T19:40:00.000Z
- Modified: 2026-09-10T03:50:14.890Z
- Also known as: GHSA-55f3-3qvg-8pv5
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Wasmer is a web assembly (wasm) Runtime supporting WASIX, WASI and Emscripten. If the preopened directory has a symlink pointing outside, WASI programs can traverse the symlink and access host filesystem if the caller sets both `oflags::creat` and `rights::fd_write`. Programs can also crash the runtime by creating a symlink pointing outside with `path_symlink` and `path_open`ing the link. This issue has been addressed in commit `b9483d022` which has been included in release version 4.3.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- wasmerio wasmer: < 4.3.2
- wasmer wasmer: before 4.3.2
- wasmer (crates.io): up to 4.3.1

## Every score

- GitHub_M: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/wasmerio/wasmer/security/advisories/GHSA-55f3-3qvg-8pv5> (web)
- <https://github.com/wasmerio/wasmer/commit/b9483d022c602b994103f78ecfe46f017f8ac662> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38358> (advisory)
- <https://github.com/wasmerio/wasmer> (package)

## Sources

- CVE List: [CVE-2024-38358](https://www.cve.org/CVERecord?id=CVE-2024-38358), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-55f3-3qvg-8pv5](https://github.com/advisories/GHSA-55f3-3qvg-8pv5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38358](https://nvd.nist.gov/vuln/detail/CVE-2024-38358), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38358 · Whole record: https://cve.day/CVE-2024-38358.json · Rebuilt by cve.day 2026-11-25T22:58:42.055Z
