Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat OpenShift Virtualization 4 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenShift Virtualization 4 | — | — | No fix listed | CNA |
| — | kubevirt.io/kubevirt (Go) | up to 1.10.0-rc.0 | — | No fix listed | GHSA-q3jc-42cq-33fj |
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-13218
- 2026-10-03 Alias added: GHSA-q3jc-42cq-33fj
- 2026-11-04 Affected versions changed · GHSA-q3jc-42cq-33fj
- 2026-11-04 CVSS score added · GHSA-q3jc-42cq-33fj
- 2026-11-04 Weakness changed · GHSA-q3jc-42cq-33fj
- 2026-11-04 5 new references · GHSA-q3jc-42cq-33fj
References
More Red Hat Openshift Virtualization vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2026-32429 Axios: Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge CVSS 3.1HIGH 7.7
- TI-2026-23208 Immutable.js: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in immutable CVSS 4.0HIGH 8.7
- TI-2020-11187 Improper privilege management in kubevirt CVSS 3.1CRITICAL 9.9
- TI-2026-11209 Kubevirt: virt-handler-rhel9: kubevirt: safepath symlink following in virt-handler… CVSS 3.1HIGH 7.3
Sources
- CVE-2026-13218 · CVE Program
- CVE-2026-13218 · NVD
- FIRST EPSS
- GHSA-q3jc-42cq-33fj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-13218 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences