{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-13218 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-13218 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-13218 is a medium-severity path traversal vulnerability in Red Hat OpenShift Virtualization 4, published on 25 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-13218 and fix it if it is affected.\n\nWhat it is: CVE-2026-13218 is a medium-severity path traversal vulnerability in Red Hat OpenShift Virtualization 4, published on 25 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-13218 in the wild and no public exploit code.\n\nAffected product: Red Hat OpenShift Virtualization 4. 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-13218/ (Markdown: https://insights.sbomify.com/CVE-2026-13218/index.md)","id":"CVE-2026-13218","markdown":"https://insights.sbomify.com/CVE-2026-13218/index.md","name":"CVE-2026-13218","record":{"aliases":["AZL-91463","GHSA-q3jc-42cq-33fj","MINI-77qf-fjgh-jqc5","MINI-792p-4qpf-jp4w"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_modify","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"KubeVirt virtualization","requires_auth":"low_privilege","summary":"Attackers with container access can overwrite arbitrary host files via symlink following in virt-handler, potentially escalating privileges.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"kubevirt","vendor":"kubevirt"},{"product":"openshift_virtualization","vendor":"redhat"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"description":"A flaw was found in KubeVirt's virt-handler network cache handling. The WriteToCachedFile function writes data to a launcher-rooted path using os.WriteFile and os.Chown without symlink protection. A user with access to the virt-launcher container can plant a symlink at the cache file path, causing virt-handler to follow it and overwrite an arbitrary host file with JSON content and change its ownership.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher","id":"CVE-2026-13218","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":"Integer overflow in perl:perl","id":"CVE-2026-13221"},"packages":[],"prev":{"headline":"NULL-pointer dereference in Zephyr OCPP CALLRESULT parsing via unchecked strtok_r/atoi","id":"CVE-2026-13217"},"products":["Red Hat OpenShift Virtualization 4"],"published":"2026-06-25","related":[{"cvss_score":9.9,"headline":"Privilege Escalation in kubevirt","id":"CVE-2020-14316","kev_date_added":null,"published":"2020-07-29"},{"cvss_score":8.7,"headline":"Path Traversal vulnerability in Kubevirt","id":"CVE-2022-1798","kev_date_added":null,"published":"2022-09-15"},{"cvss_score":8.5,"headline":"KubeVirt Vulnerable to Arbitrary Host File Read and Write","id":"CVE-2025-64324","kev_date_added":null,"published":"2025-11-18"},{"cvss_score":8.2,"headline":"On a compromised KubeVirt node, the virt-handler service account can be used to modify all node specs","id":"CVE-2023-26484","kev_date_added":null,"published":"2023-03-15"},{"cvss_score":7.3,"headline":"Path traversal in Red Hat Container Native Virtualization 4.12","id":"CVE-2026-13201","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":6.9,"headline":"KubeVirt Excessive Role Permissions Could Enable Unauthorized VMI Migrations Between Nodes","id":"CVE-2025-64436","kev_date_added":null,"published":"2025-11-07"},{"cvss_score":6.5,"headline":"Auth bypass in Red Hat OpenShift Virtualization 4","id":"CVE-2026-13208","kev_date_added":null,"published":"2026-06-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-06-26","vendors":["Red Hat"]},"summary":"Attackers with container access can overwrite arbitrary host files via symlink following in virt-handler, potentially escalating privileges.","url":"https://insights.sbomify.com/CVE-2026-13218/"}