Server-Side Request Forgery Vulnerability in KubeVirt by Red Hat
CVE-2026-13318
6.4MEDIUM
What is CVE-2026-13318?
A server-side request forgery (SSRF) vulnerability exists in KubeVirt's virt-api port-forward handler. This flaw arises when processing port-forward requests to a VirtualMachineInstance (VMI). The virt-api directly reads the target IP from vmi.Status.Interfaces[0].IP and passes it to net.Dial() without proper validation. For VMIs utilizing non-masquerade network bindings, the IP is reported by the QEMU guest agent and can be controlled by the VM owner. An attacker with kubevirt.io:edit permissions can manipulate the guest agent to report an arbitrary IP address, potentially establishing a bidirectional TCP tunnel to any routable destination and circumventing NetworkPolicy isolation.
References
CVSS V3.1
Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed
Timeline
Vulnerability published
Vulnerability Reserved
Credit
This issue was discovered by Huzaifa Sidhpurwala (Red Hat).