Advisory

RUSTSEC-2026-0149

Also known as: CVE-2026-47261, GHSA-2r75-cxrj-cmph

Summary

WASI path_open(TRUNCATE) bypasses FilePerms::WRITE host restriction

Details

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph
For more information see the GitHub-hosted security advisory.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2026-05-21 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

wasmtime-wasi

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 24.0.9, introduced 25.0.0, fixed 36.0.10, introduced 37.0.0, fixed 44.0.2, introduced 45.0.0, fixed 45.0.0 (semver)

Fixed versions

24.0.9, 36.0.10, 44.0.2, 45.0.0

Fix

  • Fixed version 24.0.9
    cargo update -p wasmtime-wasi --precise 24.0.9
  • Fixed version 36.0.10
    cargo update -p wasmtime-wasi --precise 36.0.10
  • Fixed version 44.0.2
    cargo update -p wasmtime-wasi --precise 44.0.2
  • Fixed version 45.0.0
    cargo update -p wasmtime-wasi --precise 45.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences