Wasmtimeにサンドボックスを抜けられる脆弱性、macOSとFreeBSDで影響
Summary
Wasmtimeのwasmtime-wasiに、シンボリックリンクの名前変更を悪用してサンドボックス外のホストのディレクトリを読み書きされるおそれのある脆弱性が見つかりました。影響を受けるのは、36.0.18より前、37.0.0以上48.0.6より前、49.0.0以上49.0.3より前のWasmtimeで、macOSとFreeBSDのホストが対象です。修正版として36.0.18、48.0.6、49.0.3が公開されているので、該当する版を使っている場合は修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Wasmtimeのwasmtime-wasiに、シンボリックリンクの名前変更を悪用してサンドボックス外のホストのディレクトリを読み書きされるおそれのある脆弱性が見つかりました。影響を受けるのは、36.0.18より前、37.0.0以上48.0.6より前、49.0.0以上49.0.3より前のWasmtimeで、macOSとFreeBSDのホストが対象です。修正版として36.0.18、48.0.6、49.0.3が公開されているので、該当する版を使っている場合は修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| bytecodealliancewasmtime |
< 36.0.18→ 36.0.18 ≥ 37.0.0, < 48.0.6→ 48.0.6 ≥ 49.0.0, < 49.0.3→ 49.0.3 |
36.0.18 48.0.6 49.0.3 |
| crates.iowasmtime-wasi |
≥ 0.0.0-0, < 36.0.18→ 36.0.18 ≥ 37.0.0, < 48.0.6→ 48.0.6 ≥ 49.0.0, < 49.0.3→ 49.0.3 |
36.0.18 48.0.6 49.0.3 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-118688 rust-wasmtime Fix available
Original description The description as published by the source.
wasmtime-wasi in Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 re-appends a trailing slash to rename source paths, causing renameat on macOS and FreeBSD hosts to follow directory symlinks. A guest with sandbox write access can rename a relative symlink such as "up/" to move host directories into its sandbox and read or write them.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package crates.io
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com
- web github.com