# CVE-2026-13318: Virt-api-rhel9: kubevirt: kubevirt: ssrf in virt-api port-forward via unvalidated guest-agent-reported ip

- Severity: Medium 6.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-25T23:23:38.121Z
- Modified: 2026-11-26T21:25:29.232Z
- Also known as: GHSA-cgm6-wvp9-4g5h, GO-2026-7017
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- container-native-virtualization/virt-api: no versions given
- container-native-virtualization/virt-api-rhel9: no versions given
- kubevirt.io/kubevirt (Go): before 1.10.0-rc.0
- kubevirt kubevirt: no versions given
- redhat openshift_virtualization: from 4 up to 4.22.0

## Every score

- redhat: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://access.redhat.com/security/cve/CVE-2026-13318> (mitigation, vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2492659> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13318> (advisory)
- <https://github.com/kubevirt/kubevirt/pull/18753> (web)
- <https://github.com/kubevirt/kubevirt/commit/0f5fef3309417f454565412f56f571f48358853f> (fix, web)
- <https://github.com/kubevirt/kubevirt/commit/df419a0f20aa7ddc9f4512431c3aed9a642ad1e1> (fix, web)
- <https://github.com/kubevirt/kubevirt> (package)
- <https://github.com/kubevirt/kubevirt/releases/tag/v1.10.0-rc.0> (web)
- <https://github.com/advisories/GHSA-cgm6-wvp9-4g5h> (advisory)

## Sources

- CVE List: [CVE-2026-13318](https://www.cve.org/CVERecord?id=CVE-2026-13318), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-cgm6-wvp9-4g5h](https://github.com/advisories/GHSA-cgm6-wvp9-4g5h), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7017](https://pkg.go.dev/vuln/GO-2026-7017), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-13318](https://nvd.nist.gov/vuln/detail/CVE-2026-13318), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-13318 · Whole record: https://cve.day/CVE-2026-13318.json · Rebuilt by cve.day 2026-11-26T21:37:21.554Z
