Description
Kata Containers is an open source project focusing on a standard implementation of lightweight Virtual Machines (VMs) that perform like containers. Prior to version 4.0.0, kata-runtime is vulnerable to host code execution via an unvalidated configuration path annotation. The runtime accepts an arbitrary io.katacontainers.config_path pod annotation and loads the referenced host TOML file without restriction. As a result, a pod user who can place a file at a host-visible path can supply a configuration that selects an attacker-controlled hypervisor or virtio-fs daemon binary, executing code as root on the host. This issue is fixed in version 4.0.0.
Published: 2026-08-07
Score: 9.6 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kata Containers permits pod users to supply the io.katacontainers.config_path annotation, which points to a TOML configuration file stored on the host. The runtime does not validate the path and loads the referenced file without restriction. An attacker who can place a file at a host‑visible location can craft a configuration that selects an attacker‑controlled hypervisor or virtio‑fs binary, causing the runtime to execute that binary with root privileges on the host. This bypasses container isolation and results in arbitrary code execution.

Affected Systems

The affected product is the Kata Containers runtime prior to version 4.0.0. All releases of kata-runtime that allow the io.katacontainers.config_path annotation are vulnerable. No other vendor or product variants are listed in the CVE data.

Risk and Exploitability

The CVSS score of 9.6 signals a critical severity. No EPSS score is available, so the current likelihood of exploitation cannot be quantified, and the issue is not listed in CISA KEV. Based on the description, it is inferred that an attacker must be able to create or modify a pod and write a file to a host‑visible path; thus the attack vector requires cluster‑level or privileged access within the orchestration environment.

Generated by OpenCVE AI on August 7, 2026 at 23:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kata Containers to version 4.0.0 or later to eliminate the ability to set an arbitrary config_path annotation.
  • Configure Kubernetes admission controllers to reject or strip the io.katacontainers.config_path annotation from pod manifests.
  • Restrict pod creation privileges to trusted users and enforce least‑privilege policies to limit who can create or modify pods.

Generated by OpenCVE AI on August 7, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in Kata Containers, affecting both its Rust and Go runtimes. An authenticated pod user can exploit this by setting the `io.katacontainers.config_path` annotation to an arbitrary configuration file on the host. This allows the attacker to control privileged runtime settings, leading to the execution of malicious binaries as root on the host system. The primary consequence is arbitrary code execution with elevated privileges. Kata Containers is an open source project focusing on a standard implementation of lightweight Virtual Machines (VMs) that perform like containers. Prior to version 4.0.0, kata-runtime is vulnerable to host code execution via an unvalidated configuration path annotation. The runtime accepts an arbitrary io.katacontainers.config_path pod annotation and loads the referenced host TOML file without restriction. As a result, a pod user who can place a file at a host-visible path can supply a configuration that selects an attacker-controlled hypervisor or virtio-fs daemon binary, executing code as root on the host. This issue is fixed in version 4.0.0.
Title kata-runtime: kata-runtime-rs: Kata Containers: Arbitrary code execution via manipulated configuration path Kata Containers: Config Path Annotation Arbitrary File Loading
Weaknesses CWE-22
References
Metrics cvssV3_1

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

cvssV3_1

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


Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Katacontainers
Katacontainers kata-containers
Vendors & Products Katacontainers
Katacontainers kata-containers

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in Kata Containers, affecting both its Rust and Go runtimes. An authenticated pod user can exploit this by setting the `io.katacontainers.config_path` annotation to an arbitrary configuration file on the host. This allows the attacker to control privileged runtime settings, leading to the execution of malicious binaries as root on the host system. The primary consequence is arbitrary code execution with elevated privileges.
Title kata-runtime: kata-runtime-rs: Kata Containers: Arbitrary code execution via manipulated configuration path
Weaknesses CWE-20
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Subscriptions

Katacontainers Kata-containers
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T20:56:26.209Z

Reserved: 2026-06-04T20:37:18.653Z

Link: CVE-2026-50540

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-07T21:17:28.827

Modified: 2026-08-07T21:17:28.827

Link: CVE-2026-50540

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-20T12:00:00Z

Links: CVE-2026-50540 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T23:30:17Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')