---
id: CVE-2026-47261
aliases:
  - RUSTSEC-2026-0149
  - GHSA-2r75-cxrj-cmph
title: 'WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction'
summary: 'WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction'
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
vendor: wasmtime-wasi
product: wasmtime-wasi
ecosystem: rust
affected:
  - 'wasmtime-wasi >= 45.0.0, < 45.0.0'
patched:
  - wasmtime-wasi 45.0.0
published: '2026-05-21'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T18:00:09.236693447Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2026-0149'
references:
  - url: 'https://crates.io/crates/wasmtime-wasi'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0149.html'
  - url: 'https://github.com/bytecodealliance/wasmtime/pull/13429'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47261.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-47261'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2489049'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-47261'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47261'
  - url: 'https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.9'
  - url: 'https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.10'
  - url: 'https://github.com/bytecodealliance/wasmtime/releases/tag/v44.0.2'
  - url: 'https://github.com/bytecodealliance/wasmtime/releases/tag/v45.0.0'
  - url: >-
      https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph
  - url: 'https://github.com/bytecodealliance/wasmtime'
tags:
  - osv
  - rust
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00357
epssPercentile: 0.2927
cwe:
  - CWE-279
scores:
  osv: 7.5
  vendor: 5.5
ingestedAt: '2026-07-09T18:56:37.268Z'
---

## Overview

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.

## Affected packages

- `wasmtime-wasi >= 45.0.0, < 45.0.0`

## Remediation

Upgrade to a patched release:

- `wasmtime-wasi 45.0.0`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Connectivity Link 1, Red Hat Enterprise Linux 10 · no fix planned: Red Hat Connectivity Link 1, Red Hat Enterprise Linux 10 · updated 2026-10-02 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47261.json)
