CVE catalog

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 preopen is given DirPerms::all() and FilePerms::READ without FilePerms::WRITE, this access co

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

A flaw was found in Wasmtime, a runtime for WebAssembly. This vulnerability allows an attacker to bypass intended access controls when a filesystem preopen is configured with read-only file permissions but also allows directory mutations. By using specific open flags, an attacker can truncate files that should not be writable, leading to unauthorized data modification. This issue affects wasmtime-wasi embeddings that combine directory mutation permissions with read-only file permissions. wasmtime-wasi: Wasmtime: Wasmtime: Access control bypass allows unauthorized file truncation via specific open flags. Conditions for Exploitation: Successful exploitation relies on a highly specific configuration of wasmtime-wasi embeddings. The vulnerability only triggers if a filesystem preopen explicitly combines directory mutation permissions (DirPerms::MUTATE) with read-only file permissions (FilePerms::READ). Impact Limitations: The flaw bypasses access controls solely to allow file truncation, resulting in unauthorized data modification or data loss. It does not enable an attacker to inject arbitrary data, read unpermitted files, execute arbitrary code, or escalate privileges on the host system. Specific Components Not Affected: The standard Wasmtime command-line interface (wasmtime-cli) is completely unaffected by this bug, as it defaults to granting full file permissions for all preopens. This significantly reduces the likelihood of widespread exploitation in default deployments. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
CpewasmtimeNot reported24.0.9fixed
CpewasmtimeNot reported36.0.10fixed
CpewasmtimeNot reported44.0.2fixed
Debianrust-wasmtime1326.0.1+dfsg-10vulnerable
Debianrust-wasmtime1326.0.1+dfsg-3vulnerable
Debianrust-wasmtime1326.0.1+dfsg-4vulnerable
Debianrust-wasmtime1326.0.1+dfsg-5vulnerable
Debianrust-wasmtime1326.0.1+dfsg-6vulnerable
Debianrust-wasmtime1326.0.1+dfsg-7vulnerable
Debianrust-wasmtime1326.0.1+dfsg-8vulnerable
Debianrust-wasmtime1326.0.1+dfsg-9vulnerable
Debianrust-wasmtime1327.0.0+dfsg-2vulnerable
Debianrust-wasmtime1327.0.0+dfsg-3vulnerable
Debianrust-wasmtime1327.0.0+dfsg-4vulnerable
Debianrust-wasmtime1328.0.1+dfsg-1vulnerable
Debianrust-wasmtime1328.0.1+dfsg-2vulnerable
Debianrust-wasmtime1328.0.1+dfsg-3vulnerable
Debianrust-wasmtime1329.0.1+dfsg-1vulnerable
Debianrust-wasmtime1329.0.1+dfsg-2vulnerable
Debianrust-wasmtime1329.0.1+dfsg-3vulnerable
Debianrust-wasmtime1329.0.1+dfsg-4vulnerable
Debianrust-wasmtime1329.0.1+dfsg-5vulnerable
Debianrust-wasmtime1329.0.1+dfsg-6vulnerable
Debianrust-wasmtime1329.0.1+dfsg-7vulnerable
Debianrust-wasmtime1329.0.1+dfsg-8vulnerable
Debianrust-wasmtime1336.0.11+dfsg-1vulnerable
Debianrust-wasmtime1336.0.12+dfsg-1vulnerable
Debianrust-wasmtime1336.0.12+dfsg-2vulnerable
Debianrust-wasmtime1336.0.12+dfsg-3vulnerable
Debianrust-wasmtime1336.0.13+dfsg-1vulnerable
Debianrust-wasmtime1336.0.5+dfsg-1vulnerable
Debianrust-wasmtime1336.0.5+dfsg-2vulnerable
Debianrust-wasmtime1336.0.5+dfsg-3vulnerable
Debianrust-wasmtime1336.0.5+dfsg-4vulnerable
Debianrust-wasmtime1336.0.5+dfsg-5vulnerable
Debianrust-wasmtime1336.0.6+dfsg-1vulnerable
Debianrust-wasmtime1336.0.6+dfsg-2vulnerable
Debianrust-wasmtime1336.0.6+dfsg-3vulnerable
Debianrust-wasmtime1336.0.6+dfsg-4vulnerable
Debianrust-wasmtime1336.0.6+dfsg-5vulnerable
Debianrust-wasmtime1336.0.6+dfsg-6vulnerable
Debianrust-wasmtime1336.0.6+dfsg-7vulnerable
Debianrust-wasmtime1336.0.7+dfsg-1vulnerable
Debianrust-wasmtime1336.0.8+dfsg-1vulnerable
Debianrust-wasmtime1336.0.9+dfsg-1vulnerable
Debianrust-wasmtime1336.0.9+dfsg-2vulnerable
Debianrust-wasmtime1426.0.1+dfsg-10vulnerable
Debianrust-wasmtime1426.0.1+dfsg-3vulnerable
Debianrust-wasmtime1426.0.1+dfsg-4vulnerable
Debianrust-wasmtime1426.0.1+dfsg-5vulnerable
Debianrust-wasmtime1426.0.1+dfsg-6vulnerable
Debianrust-wasmtime1426.0.1+dfsg-7vulnerable
Debianrust-wasmtime1426.0.1+dfsg-8vulnerable
Debianrust-wasmtime1426.0.1+dfsg-9vulnerable
Debianrust-wasmtime1427.0.0+dfsg-2vulnerable
Debianrust-wasmtime1427.0.0+dfsg-3vulnerable
Debianrust-wasmtime1427.0.0+dfsg-4vulnerable
Debianrust-wasmtime1428.0.1+dfsg-1vulnerable
Debianrust-wasmtime1428.0.1+dfsg-2vulnerable
Debianrust-wasmtime1428.0.1+dfsg-3vulnerable
Debianrust-wasmtime1429.0.1+dfsg-1vulnerable
Debianrust-wasmtime1429.0.1+dfsg-2vulnerable
Debianrust-wasmtime1429.0.1+dfsg-3vulnerable
Debianrust-wasmtime1429.0.1+dfsg-4vulnerable
Debianrust-wasmtime1429.0.1+dfsg-5vulnerable
Debianrust-wasmtime1429.0.1+dfsg-6vulnerable
Debianrust-wasmtime1429.0.1+dfsg-7vulnerable
Debianrust-wasmtime1429.0.1+dfsg-8vulnerable
Debianrust-wasmtime1436.0.5+dfsg-1vulnerable
Debianrust-wasmtime1436.0.5+dfsg-2vulnerable
Debianrust-wasmtime1436.0.5+dfsg-3vulnerable
Debianrust-wasmtime1436.0.5+dfsg-4vulnerable
Debianrust-wasmtime1436.0.5+dfsg-5vulnerable
Debianrust-wasmtime1436.0.6+dfsg-1vulnerable
Debianrust-wasmtime1436.0.6+dfsg-2vulnerable
Debianrust-wasmtime1436.0.6+dfsg-3vulnerable
Debianrust-wasmtime1436.0.6+dfsg-4vulnerable
Debianrust-wasmtime1436.0.6+dfsg-5vulnerable
Debianrust-wasmtime1436.0.6+dfsg-6vulnerable
Debianrust-wasmtime1436.0.6+dfsg-7vulnerable
Debianrust-wasmtime1436.0.7+dfsg-1vulnerable
Debianrust-wasmtime1436.0.8+dfsg-1vulnerable
Debianrust-wasmtime1436.0.9+dfsg-1vulnerable
Debianrust-wasmtime1436.0.9+dfsg-2vulnerable
Debianrust-wasmtime1436.0.11+dfsg-1fixed
CpewasmtimeNot reported44.0.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpewasmtimecpeNot reported24.0.9Not reportedNot reportedNot reported
CpewasmtimecpeNot reported36.0.10Not reportedNot reportedNot reported
CpewasmtimecpeNot reported44.0.2Not reportedNot reportedNot reported
Debianrust-wasmtimedeb1436.0.11+dfsg-1Not reportedDEBIAN-CVE-2026-47261Not reported
CpewasmtimecpeNot reported44.0.2Not reportedNVD-CVE-2026-47261Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • Source package: [rust-wasmtime]

    Details (2)
    • 0.113.1+26.0.1+dfsg-3 · all · trixie

      Affected

      nvd · rust-wasmtime · debian · 13

    • 0.113.1+26.0.1+dfsg-3 · all · trixie

      Affected

      nvd · rust-wasmtime · debian · 13

Observed:

References