{"id":"CVE-2026-50540","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.","aliases":["GHSA-mp2j-xm59-qfgw"],"modified":"2026-08-09T03:30:53.420264378Z","published":"2026-08-07T20:56:26.209Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50540.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50540.json"},{"type":"ADVISORY","url":"https://github.com/kata-containers/kata-containers/security/advisories/GHSA-mp2j-xm59-qfgw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50540"},{"type":"FIX","url":"https://github.com/kata-containers/kata-containers/commit/03cc670076099530f4e1e9cb22849afdafb20f65"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kata-containers/kata-containers","events":[{"introduced":"0"},{"fixed":"03cc670076099530f4e1e9cb22849afdafb20f65"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.0.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["3.32.0","3.31.0","3.30.0","3.29.0","3.28.0","3.27.0","3.26.0","3.25.0","3.24.0","3.23.0","3.22.0","3.21.0","3.20.0","3.19.1","3.19.0","3.18.0","3.17.0","3.16.0","3.15.0","3.14.0","3.13.0","3.12.0","3.11.0","3.10.1","3.10.0","3.9.0","3.8.0","3.7.0","3.6.0","3.5.0","3.4.0","3.3.0-test","3.3.0","3.3.0-alpha0","3.2.0-rc0","3.2.0-alpha4","3.2.0-alpha3","3.2.0-alpha2","3.2.0-alpha1","3.2.0-alpha0","3.1.0-rc0","3.1.0-alpha1","3.1.0-alpha0","3.0.0-rc0","untagged-b5b6198308b02e3a2666","3.0.0-alpha1","3.0.0-alpha0","2.5.0-rc0","2.5.0-alpha2","2.5.0-alpha1","2.5.0-alpha0","2.4.0-rc0","2.4.0-alpha2","2.4.0-alpha1","2.4.0-alpha0","2.3.0-rc0","2.3.0-alpha2","2.3.0-alpha1","2.2.0-rc0","2.3.0-alpha0","2.2.0-alpha1","2.2.0-alpha0","2.1.0-rc0","2.1.0-alpha2","2.1-alpha1","2.1.0-alpha1","2.1.0-alpha0","2.1-alpha0","untagged-c2a61792b39392572d0f","2.0.0-rc0","2.0.0-alpha3","2.0.0-alpha2","2.0.0-alpha1","1.11.0-alpha1","1.11.0-alpha0","1.9.3","1.10.0-rc0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50540.json"}}],"schema_version":"1.8.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"}]}