CVE-2026-13318: KubeVirt virt-api port-forward handler vulnerable to SSRF via guest-controlled VMI IP address
A server-side request forgery (SSRF) flaw was found in KubeVirt's virt-api port-forward handler. When processing a port-forward request to a VirtualMachineInstance (VMI), virt-api reads the target IP from vmi.Status.Interfaces[0].IP and passes it directly to net.Dial() without validation.
Published Jun 26, 2026 · Updated Nov 20, 2026
Affected packages
kubevirt.io/kubevirt
- Ecosystem
- Go
- Affected
- < 1.10.0-rc.0
- Fixed in
- 1.10.0-rc.0
- Check
go list -m kubevirt.io/kubevirt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A server-side request forgery (SSRF) flaw was found in KubeVirt's virt-api port-forward handler. When processing a port-forward request to a VirtualMachineInstance (VMI), virt-api reads the target IP from vmi.Status.Interfaces[0].IP and passes it directly to net.Dial() without validation. For VMIs using non-masquerade network bindings (bridge or secondary-only), this IP is reported by the QEMU guest agent running inside the VM and is fully controllable by the VM owner. An attacker with kubevirt.io:edit permissions can create a VM with a modified guest agent that reports an arbitrary IP address, then request port-forward to establish a bidirectional TCP tunnel from virt-api's cluster-internal network position to any routable destination, bypassing NetworkPolicy isolation.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-13318
- https://access.redhat.com/security/cve/CVE-2026-13318
- https://bugzilla.redhat.com/show_bug.cgi?id=2492659
- https://github.com/kubevirt/kubevirt/pull/18753
- https://github.com/kubevirt/kubevirt/commit/0f5fef3309417f454565412f56f571f48358853f
- https://github.com/kubevirt/kubevirt/commit/df419a0f20aa7ddc9f4512431c3aed9a642ad1e1
- https://github.com/kubevirt/kubevirt/releases/tag/v1.10.0-rc.0
- https://github.com/advisories/GHSA-cgm6-wvp9-4g5h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-13218
KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite
medium4.2No fixJun 26, 2026CVE-2026-9804
KubeVirt has a Link Following issue
high7.7No fixMay 28, 2026CVE-2026-7374
KubeVirt has a Link Following vulnerability
critical9.9May 26, 2026CVE-2026-6383
KubeVirt's authorization mechanism improperly truncates subresource names
medium5.4No fixApr 15, 2026CVE-2025-14525
KubeVirt Guest Agent DoS via Excessive Network Interface Reports
medium6.4No fixJan 26, 2026CVE-2025-64324
KubeVirt Vulnerable to Arbitrary Host File Read and Write
high7.7Nov 7, 2025
