CVE-2026-13318
Medium 6.4No known exploitationFix availableVirt-api-rhel9: kubevirt: kubevirt: ssrf in virt-api port-forward via unvalidated guest-agent-reported ip
Vendor advisory: GHSA-cgm6-wvp9-4g5h
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 15% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-918
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- 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.
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat OpenShift Virtualization 4 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Virtualization 4 | Not documented | Not documented | CVE Program |
| go | kubevirt.io/kubevirt | all versions before 1.10.0-rc.0 | 1.10.0-rc.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://access.redhat.com/security/cve/CVE-2026-13318 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2492659 (opens in a new tab)issue-tracking, x_refsource_redhat
- GitHub Advisory GHSA-cgm6-wvp9-4g5h (opens in a new tab)github-advisory