1. Accueil
  2. Vulnérabilités
  3. CVE-2026-47261

CVE-2026-47261

Wasmtime is a runtime for WebAssembly. In versions prior to 24.0.9, 36.0.10, and 44.0.2, when a filesystem…

Publiée le 15 juin 2026 · modifiée le 25 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 41/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Bytecodealliance (3 ligne(s))
Bytecodealliance
ProduitVersionsCorrigé dansSource
Wasmtime avant 24.0.9 (exclu) — NVD
Wasmtime de 25.0.0 (inclus) à 36.0.10 (exclu) — NVD
Wasmtime de 37.0.0 (inclus) à 44.0.2 (exclu) — NVD
crates.io (4 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
wasmtime-wasi de 0.0.0-0 (inclus) à 24.0.9 (exclu) 24.0.9 OSV
wasmtime-wasi de 25.0.0 (inclus) à 36.0.10 (exclu) 36.0.10 OSV
wasmtime-wasi de 37.0.0 (inclus) à 44.0.2 (exclu) 44.0.2 OSV
wasmtime-wasi de 45.0.0 (inclus) à 45.0.0 (exclu) 45.0.0 OSV

Correctif

Mise à jour — crates.io/wasmtime-wasi 24.0.9; crates.io/wasmtime-wasi 36.0.10; crates.io/wasmtime-wasi 44.0.2; crates.io/wasmtime-wasi 45.0.0source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données