CVE-2026-13318 Details
Description
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.
A server-side request forgery (SSRF) vulnerability exists in KubeVirt's virt-api port-forward handler. The issue arises because the handler processes port-forward requests to VirtualMachineInstances (VMIs) by reading the target IP from the VMI's status interfaces. This IP is then passed directly to the networking layer without any validation. For VMIs using non-masquerade network bindings, the IP can be manipulated by the VM owner through the QEMU guest agent. An attacker with editing permissions can exploit this by creating a VM that reports an arbitrary IP address, allowing them to establish a TCP tunnel from the virt-api's internal network to any external destination, thereby bypassing network policies.
Users not utilizing bridge binding or secondary-only network interfaces for their VMs are not affected. For those who are, cluster administrators can apply egress network policies to the openshift-cnv namespace to restrict virt-api's outbound connections to known legitimate destinations, effectively blocking the SSRF to arbitrary targets.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-13318 | [email protected] | MitigationVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2492659 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kubevirt kubevirt | All versions |
CPE
Remediation
| |
| redhat openshift virtualization | >= 4, <= 4.22.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | New CVE Received | [email protected] |