{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-50540 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-50540 is a critical path traversal vulnerability in kata-containers, published on 7 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50540 and fix it if it is affected.\n\nWhat it is: CVE-2026-50540 is a critical path traversal vulnerability in kata-containers, published on 7 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50540 in the wild and no public exploit code.\n\nAffected product: kata-containers. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50540/ (Markdown: https://insights.sbomify.com/CVE-2026-50540/index.md)","id":"CVE-2026-50540","markdown":"https://insights.sbomify.com/CVE-2026-50540/index.md","name":"CVE-2026-50540","record":{"aliases":["AZL-94610","AZL-94622","AZL-94679","AZL-94682","GHSA-mp2j-xm59-qfgw","OESA-2026-3405","OESA-2026-3653","OESA-2026-3850"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kata Containers runtime","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary code as root on the host by supplying a malicious configuration path annotation to the Kata Containers runtime.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Kata Containers: Config Path Annotation Arbitrary File Loading","id":"CVE-2026-50540","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Xibo: IDOR (Broken Object-Level Authorization) on GET /dataset/export/csv/{id} Allows Arbitrary Dataset Export","id":"CVE-2026-50541"},"packages":[],"prev":{"headline":"Xibo is an open source digital signage platform with a web content management system and Windows display player software.","id":"CVE-2026-50539"},"products":["kata-containers"],"published":"2026-08-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-24","vendors":["kata-containers"]},"summary":"An attacker can execute arbitrary code as root on the host by supplying a malicious configuration path annotation to the Kata Containers runtime.","url":"https://insights.sbomify.com/CVE-2026-50540/"}