CVE-2026-126410

Wasmtime 48.0.0 before 48.0.8 TOCTOU UDP Send Policy Bypass via wasip3 Sockets

Published Nov 13, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Wasmtime's wasmtime-wasi crate 48.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains a time-of-check/time-of-use race in the wasip3 wasi:sockets udp-socket host implementation that lets guests bypass socket_addr_check send restrictions. A malicious guest can race udp-socket.send against udp-socket.connect to deliver attacker-controlled datagrams to addresses the policy permits only for receiving.

Analysis

AI-generated

Technical impact

Wasmtime's wasip3 wasi:sockets udp-socket implementation contains a time‑of‑check/time‑of‑use race that allows a malicious WebAssembly guest to bypass the send policy. By racing the .send and .connect system calls, the guest can dispatch UDP datagrams to arbitrary destinations that are otherwise only permitted for receive operations. This breach permits unauthorized network traffic to be sent from the host, potentially exposing the host or network to misuse or data exfiltration, and undermines the intended isolation guaranteed by the policy.

Affected Systems

The affected product is the wasmtime-wasi crate from Bytecode Alliance. Versions prior to 48.0.8, 49.0.5, and 50.0.1 are vulnerable. Users running these releases on any platform where Wasmtime is employed should be aware of the impact.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The risk is further limited by the need for the attacker to control a WebAssembly guest that can orchestrate the race condition between send and connect. Because the vulnerability surfaces only in the context of a running guest, it does not affect the host directly unless the guest is malicious. The vulnerability is not listed in the CISA KEV catalog, so no known widespread attacks exist at the time of analysis.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to version 48.0.8 or later, 49.0.5 or later, or 50.0.1 or later to eliminate the race condition.
  • If upgrading immediately is not possible, disable or restrict UDP socket usage in the WebAssembly sandbox by tightening the wasi:sockets policy or removing UDP support entirely.
  • Isolate WebAssembly guests that require network access to a trusted environment or apply host‑level network restrictions to prevent misuse of the send functionality.

Generated by OpenCVE AI on November 14, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Wasmtime's wasmtime-wasi crate 48.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains a time-of-check/time-of-use race in the wasip3 wasi:sockets udp-socket host implementation that lets guests bypass socket_addr_check send restrictions. A malicious guest can race udp-socket.send against udp-socket.connect to deliver attacker-controlled datagrams to addresses the policy permits only for receiving.
Title Wasmtime 48.0.0 before 48.0.8 TOCTOU UDP Send Policy Bypass via wasip3 Sockets
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-367
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 30, 2026, 7:54 PM
Reserved
Nov 10, 2026, 9:34 PM
Status
Deferred
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 3:17 PM