Description
runwasi facilitates running Wasm and WASI workloads managed by containerd. Prior to 0.6.1, containerd-shim-wasmtime-v1 can treat Wasmtime precompiled bytes supplied directly in an OCI image layer as a trusted artifact from the precompile-cache path and deserialize them as native code. An attacker who causes a victim to run a crafted image can bypass WebAssembly validation and execute native code in the shim zygote process, gaining the filesystem, environment, credentials, networking, and Linux syscall access available to the workload container. Downstream shims built with runwasi's containerd-shim-wasm precompile-cache API are also affected if they implement Compiler and trust executable precompiled artifacts from OCI image layers; the 0.6.1 boundary applies specifically to containerd-shim-wasmtime and does not independently certify downstream product releases. The flaw escapes the WASI sandbox to the workload container boundary, but it does not by itself bypass container isolation or provide direct host code execution. This issue is fixed in version 0.6.1.
Published: 2026-10-15
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution within runwasi shim process leading to elevated container-level privileges
Action: Immediate Patch
AI Analysis

Impact

runwasi, a component that enables containerd to run WebAssembly and WASI workloads, has a critical deserialization flaw (CWE-502). Prior to version 0.6.1, the shim interpreted Wasmtime precompiled bytecode supplied in an OCI image layer as trusted data from a local cache and executed it as native code. An attacker who can get a victim to run a crafted image can bypass WebAssembly validation, inject malicious native code, and gain full filesystem, environment, credential, networking, and syscall access within the workload container. The vulnerability escapes the intended WASI sandbox but still requires the victim to launch the tampered image, and it does not directly break container isolation or provide host code execution on its own.

Affected Systems

The flaw affects the containerd-runwasi shim, specifically containerd-shim-wasmtime-v1 prior to release 0.6.1. Any downstream shim that adopts runwasi’s precompile‑cache API and trusts executable artifacts from OCI image layers is also vulnerable, even if the downstream product is not the original containerd variant. Versions 0.6.1 and later of containerd-shim-wasmtime are free of this defect, while earlier releases remain at risk.

Risk and Exploitability

The CVSS v3 score of 9.3 marks this as a critical vulnerability, and the EPSS score of less than 1% indicates that while exploitation is possible, it is unlikely to be widespread. This issue is not listed in CISA’s KEV catalog. Attackers would need the ability to push a malicious OCI image to a vulnerable system, but once that is achieved, the ability to execute arbitrary native code inside the shim can be leveraged to compromise the workload container. The lack of direct host impact limits the overall scope compared to full host escalation vulnerabilities, yet the impact within containers is severe.

Generated by OpenCVE AI on October 16, 2026 at 19:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the containerd-runwasi shim to version 0.6.1 or later, which removes the trusted precompile cache handling for OCI image layers.
  • If an immediate upgrade is not feasible, disable the precompiled Wasmtime cache feature or prevent the shim from loading precompiled artifacts from OCI layers by configuring appropriate image policies.
  • For older releases, apply the patch commit d28ab73c2c8a6c50d1927078821bd418b9e51638 or backport the fix, and verify that the containerd environment rejects OCI layers containing precompiled code.

Generated by OpenCVE AI on October 16, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Containerd
Containerd runwasi
Vendors & Products Containerd
Containerd runwasi

Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Description runwasi facilitates running Wasm and WASI workloads managed by containerd. Prior to 0.6.1, containerd-shim-wasmtime-v1 can treat Wasmtime precompiled bytes supplied directly in an OCI image layer as a trusted artifact from the precompile-cache path and deserialize them as native code. An attacker who causes a victim to run a crafted image can bypass WebAssembly validation and execute native code in the shim zygote process, gaining the filesystem, environment, credentials, networking, and Linux syscall access available to the workload container. Downstream shims built with runwasi's containerd-shim-wasm precompile-cache API are also affected if they implement Compiler and trust executable precompiled artifacts from OCI image layers; the 0.6.1 boundary applies specifically to containerd-shim-wasmtime and does not independently certify downstream product releases. The flaw escapes the WASI sandbox to the workload container boundary, but it does not by itself bypass container isolation or provide direct host code execution. This issue is fixed in version 0.6.1.
Title runwasi: Forged Wasmtime precompiled OCI layer bypasses runwasi WASI sandbox
Weaknesses CWE-502
References
Metrics cvssV4_0

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


Subscriptions

Containerd Runwasi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T19:55:14.129Z

Reserved: 2026-05-18T22:25:21.258Z

Link: CVE-2026-47218

cve-icon Vulnrichment

Updated: 2026-10-15T19:55:10.573Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T19:17:39.257

Modified: 2026-10-16T16:00:33.533

Link: CVE-2026-47218

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T12:56:37Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data