{"id":"CVE-2026-50540","aliases":["AZL-94610","AZL-94622","AZL-94679","AZL-94682"],"summary":"Kata Containers: Config Path Annotation Arbitrary File Loading","published_at":"2026-07-20T12:00:00Z","modified_at":"2026-11-19T05:26:20Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"critical","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0042500002309679985,"percentile":0.37567999958992004,"date":"2026-11-19T00:00:00Z"},"priority":10.6,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:openshift:4","package":"kata-containers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50540","relation":"self"}],"affected_other":[{"ecosystem":"Azure Linux:3","package":"cri-o","purl":"pkg:rpm/azure-linux/cri-o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.30.1-1"}]}],"provider":"osv","source":"AZL-94679","relation":"self"},{"ecosystem":"Azure Linux:3","package":"kata-containers","purl":"pkg:rpm/azure-linux/kata-containers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.32.0.kata0-5"}]}],"fixed":["3.32.0.kata0-5"],"provider":"osv","source":"AZL-94610","relation":"self"},{"ecosystem":"Azure Linux:3","package":"kata-containers-cc","purl":"pkg:rpm/azure-linux/kata-containers-cc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.0.aks0-20"}]}],"fixed":["3.15.0.aks0-20"],"provider":"osv","source":"AZL-94622","relation":"self"},{"ecosystem":"Azure Linux:3","package":"kata-containers-preview","purl":"pkg:rpm/azure-linux/kata-containers-preview","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.27.0~preview2-2"}]}],"provider":"osv","source":"AZL-94682","relation":"self"},{"ecosystem":"CVE","package":"kata-containers/kata-containers","versions":["< 4.0.0"],"provider":"cvelistv5","source":"CVE-2026-50540","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Confidential Compute Attestation","cpe":"cpe:/a:redhat:confidential_compute_attestation:1","status":"affected","packages":["openshift-sandboxed-containers/osc-monitor-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50540"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["kata-containers"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50540"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-50540","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-50540","license":"CC-BY-4.0","published_at":"2026-08-07T20:56:26.209Z","modified_at":"2026-08-24T06:13:27.182Z","summary":"Kata Containers: Config Path Annotation Arbitrary File Loading","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","source":"CVE-2026-50540"}],"affected":[{"ecosystem":"CVE","package":"kata-containers/kata-containers","versions":["< 4.0.0"],"provider":"cvelistv5","source":"CVE-2026-50540","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/kata-containers/kata-containers/security/advisories/GHSA-mp2j-xm59-qfgw"},{"type":"WEB","url":"https://github.com/kata-containers/kata-containers/commit/03cc670076099530f4e1e9cb22849afdafb20f65"}]},{"provider":"osv","source_id":"AZL-94610","relation":"self","url":"https://osv.dev/vulnerability/AZL-94610","license":"MIT","published_at":"2026-08-07T21:17:28Z","modified_at":"2026-09-22T05:34:53Z","summary":"CVE-2026-50540 affecting package kata-containers for versions less than 3.32.0.kata0-5","details":"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.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"kata-containers","purl":"pkg:rpm/azure-linux/kata-containers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.32.0.kata0-5"}]}],"fixed":["3.32.0.kata0-5"],"provider":"osv","source":"AZL-94610","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"}]},{"provider":"osv","source_id":"AZL-94622","relation":"self","url":"https://osv.dev/vulnerability/AZL-94622","license":"MIT","published_at":"2026-08-07T21:17:28Z","modified_at":"2026-11-19T05:26:20Z","summary":"CVE-2026-50540 affecting package kata-containers-cc for versions less than 3.15.0.aks0-20","details":"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.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"kata-containers-cc","purl":"pkg:rpm/azure-linux/kata-containers-cc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.0.aks0-20"}]}],"fixed":["3.15.0.aks0-20"],"provider":"osv","source":"AZL-94622","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"}]},{"provider":"osv","source_id":"AZL-94679","relation":"self","url":"https://osv.dev/vulnerability/AZL-94679","license":"MIT","published_at":"2026-08-07T21:17:28Z","modified_at":"2026-11-19T05:24:34Z","summary":"CVE-2026-50540 affecting package cri-o 1.30.1-1","details":"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.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"cri-o","purl":"pkg:rpm/azure-linux/cri-o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.30.1-1"}]}],"provider":"osv","source":"AZL-94679","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"}]},{"provider":"osv","source_id":"AZL-94682","relation":"self","url":"https://osv.dev/vulnerability/AZL-94682","license":"MIT","published_at":"2026-08-07T21:17:28Z","modified_at":"2026-11-19T05:24:34Z","summary":"CVE-2026-50540 affecting package kata-containers-preview 3.27.0~preview2-2","details":"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.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"kata-containers-preview","purl":"pkg:rpm/azure-linux/kata-containers-preview","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.27.0~preview2-2"}]}],"provider":"osv","source":"AZL-94682","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"}]},{"provider":"redhat-vex","source_id":"CVE-2026-50540","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-50540","license":"CC-BY-4.0","published_at":"2026-07-20T12:00:00Z","modified_at":"2026-08-07T21:11:03Z","summary":"kata-runtime: kata-runtime-rs: Kata Containers: Arbitrary code execution via manipulated configuration path","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-50540"},{"type":"Red Hat","score":"Important","source":"CVE-2026-50540"}],"affected":[{"ecosystem":"Red Hat:openshift:4","package":"kata-containers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-50540","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Confidential Compute Attestation","cpe":"cpe:/a:redhat:confidential_compute_attestation:1","status":"affected","packages":["openshift-sandboxed-containers/osc-monitor-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-50540"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["kata-containers"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-50540"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50540.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-50540"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2500228"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-50540"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"},{"type":"WEB","url":"https://github.com/kata-containers/kata-containers/security/advisories/GHSA-mp2j-xm59-qfgw"}]}],"references":[{"type":"WEB","url":"https://github.com/kata-containers/kata-containers/security/advisories/GHSA-mp2j-xm59-qfgw"},{"type":"WEB","url":"https://github.com/kata-containers/kata-containers/commit/03cc670076099530f4e1e9cb22849afdafb20f65"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50540.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-50540"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2500228"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-50540"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-50540","url":"https://www.cve.org/CVERecord?id=CVE-2026-50540","license":"CC-BY-4.0","modified_at":"2026-08-24T06:13:27.182Z","relation":"self"},{"provider":"osv","source_id":"AZL-94610","url":"https://osv.dev/vulnerability/AZL-94610","license":"MIT","modified_at":"2026-09-22T05:34:53Z","relation":"self"},{"provider":"osv","source_id":"AZL-94622","url":"https://osv.dev/vulnerability/AZL-94622","license":"MIT","modified_at":"2026-11-19T05:26:20Z","relation":"self"},{"provider":"osv","source_id":"AZL-94679","url":"https://osv.dev/vulnerability/AZL-94679","license":"MIT","modified_at":"2026-11-19T05:24:34Z","relation":"self"},{"provider":"osv","source_id":"AZL-94682","url":"https://osv.dev/vulnerability/AZL-94682","license":"MIT","modified_at":"2026-11-19T05:24:34Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-50540","url":"https://access.redhat.com/security/cve/CVE-2026-50540","license":"CC-BY-4.0","modified_at":"2026-08-07T21:11:03Z","relation":"self"}]}
