{"id":"CVE-2026-13318","published":"2026-06-25T23:23:38Z","modified":"2026-06-26T12:35:31Z","title":"Virt-api-rhel9: kubevirt: kubevirt: ssrf in virt-api port-forward via unvalidated guest-agent-reported ip","vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00236,"percentile":0.08826,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-13318","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492659","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.77},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","versions":["all versions"]}],"workarounds":{"items":["Users who do not use bridge binding or secondary-only network interfaces for their VMs are not affected by this vulnerability. For environments using these configurations, cluster administrators can apply egress NetworkPolicy to the openshift-cnv namespace to restrict virt-api's outbound connections to known-legitimate destinations (launcher pod CIDRs and node IPs), which blocks the SSRF to arbitrary targets."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T12:35:22.451050Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"kubevirt.io/kubevirt","vulnerableRanges":["<1.10.0-rc.0"],"patched":["1.10.0-rc.0"],"from":["GHSA-cgm6-wvp9-4g5h","GO-2026-7017"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-39595","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-64432","published":"2025-11-07","fixed":"1.7.0-rc.0","kev":false},{"cve":"CVE-2025-64436","published":"2025-11-07","fixed":"1.7.0","kev":false},{"cve":"CVE-2026-7374","published":"2026-05-26","fixed":"1.8.3","kev":false,"link":{"from":"CVE-2026-7374","to":"CVE-2026-13318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:kubevirt.io/kubevirt","fromFixed":"1.8.3","toFixed":"1.10.0-rc.0","daysApart":30}]}},{"cve":"CVE-2026-13318","published":"2026-06-25","fixed":"1.10.0-rc.0","kev":false}],"package":"Go:kubevirt.io/kubevirt"}}