Wasmtime doesn't fully sandbox all the Windows device filenames
CVE-2024-51745GHSA-c2f5-jxjv-2hh8
What to do
Vendor fix available. Upgrade each affected package to the fixed version on its release line (wasmtime 26.0.1, 25.0.3, 24.0.2), redeploy, then verify what is actually installed.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
crates.io wasmtime
- Affected
- < 24.0.2>= 25.0.0, < 25.0.3>= 26.0.0, <= 26.0.0
- Fixed in
- 25.0.3, 24.0.2, 26.0.1
Sources
- GitHub Advisory Database and maintainer security advisories on GitHub
GitHub-reviewed advisory GHSA-c2f5-jxjv-2hh8 lists affected ranges: crates.io wasmtime >=0 =25.0.0 =26.0.0 <=26.0.0
VerifiedObserved Structured GitHub Advisory Database record (type=reviewed) from the GitHub REST API.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS 4.0
- 2.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N · score source
- EPSS
- CVE-2024-51745: 0.84% estimated exploitation activity in the next 30 days; percentile 57.76 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description
As published by the source; long descriptions are shortened.
Impact Wasmtime's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so on, however it did not block access to the special device filenames which use superscript digits, such as "COM¹", "COM²", "LPT⁰", "LPT¹", and so on. Untrusted Wasm programs that are given access to any filesystem directory could bypass the sandbox and access devices through those special device filenames with superscript digits, and through them gain access peripheral devices connected to the computer, or network resources mapped to those devices. This can include modems, printers, network printers, and any other device connected to a serial or parallel port, including emulated USB serial ports. Patches Patch releases for Wasmtime have been issued as 24.0.2, 25.0.3, and 26.0.1. Users of Wasmtime 23.0.x and prior are recommended to upgrade to one of these patched versions. Workarounds There are no known workarounds for this issue.…
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 1 · created ·
Published from ghsa record GHSA-c2f5-jxjv-2hh8
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: CVE-2024-51745 Advisory: Wasmtime doesn't fully sandbox all the Windows device filenames IDs: CVE-2024-51745, GHSA-c2f5-jxjv-2hh8 Record: https://patchnext.com/advisories/cve-2024-51745 (revision 1, source checked 26 Oct 2026, 15:38 UTC) Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected. Severity: Low (CVSS 2.3) Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV. Vendor response: Vendor fix available; fixed versions by package: wasmtime 26.0.1, 25.0.3, 24.0.2. A vendor fix does not mean a deployment is fixed. ## Affected components - crates.io wasmtime: affected < 24.0.2; >= 25.0.0, < 25.0.3; >= 26.0.0, <= 26.0.0; fixed in 25.0.3, 24.0.2, 26.0.1 ## Suggested inspection (read-only) - crates.io wasmtime: check the installed version with your package manager. ## Supported action Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version. ## Required regression checks - Run the test suite and a production build. - Exercise the features that depend on wasmtime. - Repeat the inspection and confirm that only fixed versions remain installed. ## Rollback considerations - Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward. ## Unresolved questions - Which deployments run an affected version? - Exploitation status can change. Check again before lowering the priority. - Mark the work resolved only after the fixed version is verified in production. ## Sources - Verified: https://github.com/advisories/GHSA-c2f5-jxjv-2hh8 (GitHub-reviewed advisory GHSA-c2f5-jxjv-2hh8 lists affected ranges: crates.io wasmtime >=0 =25.0.0 =26.0.0 <=26.0.0) Commands are suggestions: review each one before running it.
Loading voting…