CVE-2026-13318
published medium CVSS 3.1 · 6.4Virt-api-rhel9: kubevirt: kubevirt: ssrf in virt-api port-forward via unvalidated guest-agent-reported ip
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | container-native-virtualization/virt-apiRed Hat OpenShift Virtualization 4 | Affected | Not stated | redhat |
| Red Hat | — | container-native-virtualization/virt-api-rhel9Red Hat OpenShift Virtualization 4 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Virtualization 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Virtualization 4 | Default: affected | redhat · cna |
Weaknesses
1- CWE-918 Server-Side Request Forgery
References
2- https://access.redhat.com/security/cve/CVE-2026-13318
- RHBZ#2492659 https://bugzilla.redhat.com/show_bug.cgi?id=2492659
Provider assertions
2redhat · cna
Virt-api-rhel9: kubevirt: kubevirt: ssrf in virt-api port-forward via unvalidated guest-agent-reported ip
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 778c0d00fb76a93cd526ee65a33aaa9477527a6e1e06a50e27e744ced79e1f13
- Ingested
- 26 Nov 2026, 21:35:35 UTC
- Source record
- Official CVE record