GHSA-2r75-cxrj-cmph · 深刻度: high · エコシステム: rust — wasmtime-wasi: WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction
Wasmtime is a runtime for WebAssembly. In versions prior to 24.0.9, 36.0.10, and 44.0.2, when a filesystem preopen is given DirPerms::all() and FilePerms::READ without FilePerms::WRITE, this access control mechanism can be bypassed via the wasip2 descriptor.open-at or wasip1 path_open interfaces by opening a file with only the OpenFlags::TRUNCATE oflag. The root cause is that the clause handling OpenFlags::TRUNCATE in crates/wasi/src/filesystem.rs (Dir::open_at, lines 967–969) did not set open_mode |= OpenMode::WRITE;, which is later used for the access control check against FilePerms to determine whether opening the file is permitted; the single-line fix adds that missing assignment, after which the affected calls correctly fail with error-code.not-permitted and ERRNO_PERM respectively. Only wasmtime-wasi embeddings that combine DirPerms::MUTATE with FilePerms::READ are affected by this bug. In particular, the Wasmtime project's wasmtime-cli's use of wasmtime-wasi is not affected, because it always sets FilePerms::all() for all preopens. This issue has been fixed in versions 24.0.9, 36.0.10 and44.0.2.
総合評価: CVE-2026-47261 は低リスク(39.4/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.36%、27 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-23 | 0.53% | 0.36% | -0.18% |
| 2 | 2026-06-16 | 0.04% | 0.53% | +0.49% |
| 3 | 2026-06-12 | — | 0.04% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-2r75-cxrj-cmph · 深刻度: high · エコシステム: rust — wasmtime-wasi: WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-47261 not yet assigned priority: Debian including 1 source packages (rust-wasmtime), 3 status rows across 3 suites (forky, sid, trixie): resolved 2, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-47261 |
ubuntu
|
medium | CVE-2026-47261 medium priority: Ubuntu including 1 source packages (rust-wasmtime), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 3, DNE 1, released 1. | https://ubuntu.com/security/CVE-2026-47261 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.9 | cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* |
| bytecodealliance | wasmtime | >= 25.0.0, < 36.0.10 | cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* |
| bytecodealliance | wasmtime | >= 37.0.0, < 44.0.2 | cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:* |
| URL | タグ |
|---|---|
| https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.9 | Release Notes |
| https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.10 | Release Notes |
| https://github.com/bytecodealliance/wasmtime/releases/tag/v44.0.2 | Release Notes |
| https://github.com/bytecodealliance/wasmtime/releases/tag/v45.0.0 | Release Notes |
| https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph | Mitigation Vendor Advisory |