Skip to main content

Wasmtime EUVDEUVD-2026-112393

| CVE-2026-118688 HIGH
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-10-28 disclosure@vulncheck.com GHSA-63fr-xrxj-8wrx
8.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Run as guest with sandbox write access
  2. Delivery
    Create relative symlink to host path outside sandbox
  3. Exploit
    Rename symlink source with trailing slash
  4. Execution
    renameat follows symlink on macOS/FreeBSD host
  5. Persist
    External host directory relocated into sandbox
  6. Impact
    Read and write host files outside sandbox

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Three concrete conditions must all hold. (1) The host operating system must be macOS or FreeBSD - Linux and Windows are explicitly not affected because their renameat does not follow a symlink with a trailing slash. (2) The embedding application must run an affected wasmtime-wasi version (<=36.0.17, 37.0.0 through 48.0.5, or 49.0.0 through 49.0.2) and must have granted the guest write access to at least one directory within its sandbox. (3) The guest must be able to create a symlink and issue a rename - and only symlinks pointing to directories can be used to escape. Limiting factors: the attacker must already be executing as a guest inside the sandbox (not a wholly external/unauthenticated actor), the host-OS restriction excludes the common Linux/Windows server case, and only directory symlinks work; no end-user interaction is required once a malicious guest runs.

Impact

This is a full filesystem sandbox escape in wasmtime-wasi rated CVSS 4.0 8.8, and the technical impact is genuinely high: a guest can both read and write arbitrary host directories, defeating the core security guarantee of the runtime. However, the exploitation surface is materially constrained and the raw score should be read against several tempering signals. Attack requirements are present (AT:P in the supplied vector) because only macOS and FreeBSD hosts are affected - Linux and Windows are explicitly NOT vulnerable because their renameat does not follow a trailing-slash symlink - so a large share of real deployments (which skew to Linux servers) carry no exposure. The attacker must also already be a guest granted write access to a sandbox directory (PR:L), meaning this matters specifically to embedders who run untrusted or semi-trusted WASM guests on macOS/FreeBSD. No EPSS score was provided and the vulnerability is not on the CISA KEV list, so there is no evidence of active exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious-but-not-under-attack issue. No verified working exploit code was supplied - only the GHSA and VulnCheck advisories, which describe the mechanism precisely. One signal to flag explicitly: the supplied CVSS 4.0 vector uses AV:N, but the actual trigger is in-process execution of malicious guest code, which is better modeled as a local execution context (AV:L) whose network reachability depends entirely on how the embedding application delivers guests - verify against your deployment. Net: a real priority to patch for anyone running untrusted guests on macOS/FreeBSD, and effectively not applicable on Linux/Windows.

Exploit ScenarioDerived

On a macOS or FreeBSD host running an affected wasmtime-wasi version, a malicious or compromised WASM guest that has been granted write access to a preopened directory creates a relative symlink pointing outside its sandbox (e.g. symlink("../outside", "up")) and then renames "up/" to a path inside its sandbox. The host kernel follows the trailing-slash symlink during the renameat syscall and moves the external host directory into the sandbox, after which the guest can read and write its contents. No public exploit code was identified at time of analysis, but the GHSA advisory describes the trigger in full.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Filesystem sandbox escape in Wasmtime's wasmtime-wasi crate allows a sandboxed guest on macOS or FreeBSD to move host directories accessible to the host process into its own sandbox and then read or write their contents, defeating the runtime's core isolation guarantee. Affected releases are 36.0.17 and earlier, 37.0.0 through 48.0.5, and 49.0.0 through 49.0.2; Linux and Windows hosts are explicitly not affected. Exploitation requires a guest already executing with write access to at least one sandbox directory, and no public exploit code has been identified at time of analysis - though the vendor notes the bug affects every published version as of the advisory and provides no workaround other than upgrading.

RemediationAI

Vendor-released patches: Wasmtime 36.0.18, 48.0.6, and 49.0.3, each containing a fixed wasmtime-wasi crate; upgrade to the release matching your maintenance branch and rebuild any embedding application that vendors the crate. The vendor states there is no known workaround, so upgrading is the only complete fix - restricting guest write access to preopened directories reduces exposure but does not remove the flaw when guests legitimately need rename capability, and the issue does not affect Linux or Windows hosts, so moving affected workloads to those platforms avoids this specific bug if an upgrade cannot be scheduled immediately. Advisory details are at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38.

Affected VersionsENISA

wasmtime 0 <36.0.18
wasmtime 49.0.0 <49.0.3
wasmtime 37.0.0 <48.0.6

Affected Packages

euvd wasmtime fix: 36.0.18, 48.0.6, 49.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

wasmtime-wasi implements the WASI preview filesystem interface on top of capability-style preopened directories, so guests are expected to be confined to paths they were explicitly granted. When handling a rename, the crate stripped a trailing slash from the source path to resolve the parent directory but then re-appended the slash to the final path component before invoking the host renameat syscall. On macOS and FreeBSD, renameat follows a trailing-slash symlink to a directory, so a guest that creates a relative symlink such as "up/" pointing outside its sandbox can rename that path into the sandbox and cause the kernel to relocate the linked host directory. This is a classic CWE-61 UNIX symbolic link following flaw; only symlinks targeting directories can be used this way, and Linux and Windows are unaffected because their renameat implementations do not follow a trailing-slash symlink. The issue is closely related to GHSA-vqjp-4c8c-hfgg (and to the remove_dir case tracked as bytecodealliance/wasmtime#14663); that earlier fix changed how paths are opened but not how they are renamed, which is why all then-published versions were vulnerable. The assessed vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L) reflects a low-privileged guest already inside the sandbox, no user interaction, and a scope change because the escape crosses from guest into host filesystem boundaries.

Know when Freebsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
vuln.today AI 8.7 HIGH

Exploitation runs as in-process guest code (AV:L) requiring a granted writable sandbox directory (PR:L); the sandbox escape to the host filesystem is a scope change (S:C) giving read/write impact with minor availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Oct 28, 2026 - 20:04 EUVD
CVE Published
Oct 28, 2026 - 19:17 cve.org
HIGH 8.8

DescriptionCVE.org

wasmtime-wasi in Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 re-appends a trailing slash to rename source paths, causing renameat on macOS and FreeBSD hosts to follow directory symlinks. A guest with sandbox write access can rename a relative symlink such as "up/" to move host directories into its sandbox and read or write them.

Technical POC Analysis

CWE-61, UNIX Symbolic Link (Symlink) Following, in the filesystem implementation of the wasmtime-wasi crate (Rust).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-118688 is a high-severity sandbox escape in Wasmtime's wasmtime-wasi crate that undermines the core isolation guarantee for organizations running untrusted WebAssembly workloads on macOS or FreeBSD hosts. A sandboxed guest could access host directories outside its intended boundary, exposing sensitive data and enabling unauthorized modifications, which should concern leadership given the potential for data breaches and erosion of trust in the runtime security model.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include running affected workloads on Linux or Windows hosts (explicitly not affected), limiting guest write access to sandbox directories, and restricting directory permissions to minimize exposure.

Threat Intelligence Overview

Prevalence
Medium
leading WebAssembly runtime, widely embedded but not ubiquitous enterprise software
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy