{"answers":{"affected":"5 open source packages ship an affected version, including kubevirt.io/kubevirt. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64324 exists.","fix":"Upgrade kubevirt.io/kubevirt to a fixed version for your release line: 1.6.1 or 1.7.0-rc.0.","what":"CVE-2025-64324 is a high-severity path traversal vulnerability in kubevirt, published on 18 Nov 2025. 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-2025-64324 and fix it if it is affected.\n\nWhat it is: CVE-2025-64324 is a high-severity path traversal vulnerability in kubevirt, published on 18 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-64324 exists.\n\nAffected packages and fixed versions:\n- kubevirt.io/kubevirt (Go): affected all versions; fixed in 1.6.1, 1.7.0-rc.0\n- kubevirt.io/kubevirt (Go): affected all versions; fixed in 1.6.1\n- kubevirt.io/kubevirt (Go): affected all versions; fixed in 1.6.1\n- kubevirt.io/kubevirt (Go): affected from 1.7.0-alpha.0; fixed in 1.7.0-rc.0\n- kubevirt.io/kubevirt (Go): affected from 1.7.0-alpha.0; fixed in 1.7.0-rc.0\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-2025-64324/ (Markdown: https://insights.sbomify.com/CVE-2025-64324/index.md)","id":"CVE-2025-64324","markdown":"https://insights.sbomify.com/CVE-2025-64324/index.md","name":"CVE-2025-64324","record":{"aliases":["AZL-70414","AZL-70463","GHSA-46xp-26xh-hpqh","GO-2025-4110","MINI-2xm8-mcqj-cc35","MINI-f6cj-3wqj-m9f8","MINI-jmfp-8r4r-xr24","MINI-vrff-ggvj-52mh"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Kubernetes VM add-on","requires_auth":"none","summary":"An attacker can read and write arbitrary host files via the hostDisk feature, requiring specific configuration to exploit.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kubevirt","vendor":"kubevirt"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"KubeVirt is a virtual machine management add-on for Kubernetes. The `hostDisk` feature in KubeVirt allows mounting a host file or directory owned by the user with UID 107 into a VM. However, prior to version 1.6.1 and 1.7.0, the implementation of this feature and more specifically the `DiskOrCreate` option (which creates a file if it doesn't exist) has a logic bug that allows an attacker to read and write arbitrary files owned by more privileged users on the host system. Versions 1.6.1 and 1.7.0 fix the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"KubeVirt Vulnerable to Arbitrary Host File Read and Write","id":"CVE-2025-64324","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":5,"n_references":4,"next":{"headline":"Emby Server is Vulnerable to Remote Code Execution Through XSS in Admin Dashboard","id":"CVE-2025-64325"},"packages":[{"ecosystem":"Go","fixed":["1.6.1","1.7.0-rc.0"],"introduced":["0","1.6.2"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GO-2025-4110"},{"ecosystem":"Go","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":null,"source":"GHSA-46xp-26xh-hpqh"},{"ecosystem":"Go","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GHSA-46xp-26xh-hpqh"},{"ecosystem":"Go","fixed":["1.7.0-rc.0"],"introduced":["1.7.0-alpha.0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":null,"source":"GHSA-46xp-26xh-hpqh"},{"ecosystem":"Go","fixed":["1.7.0-rc.0"],"introduced":["1.7.0-alpha.0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GHSA-46xp-26xh-hpqh"}],"prev":{"headline":"kgateway is missing xDS authorization","id":"CVE-2025-64323"},"products":["kubevirt"],"published":"2025-11-18","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.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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["kubevirt"]},"summary":"An attacker can read and write arbitrary host files via the hostDisk feature, requiring specific configuration to exploit.","url":"https://insights.sbomify.com/CVE-2025-64324/"}