MediumGHSA-cgm6-wvp9-4g5hCVE-2026-13318

KubeVirt virt-api port-forward handler vulnerable to SSRF via guest-controlled VMI IP address

Published 26 Jun 2026 · Updated 4 Nov 2026

Is your project on an affected kubevirt.io/kubevirt?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.10.0-rc.0
Fixed in
1.10.0-rc.0
Update to the fixed version for your release line, for example:go get kubevirt.io/kubevirt@v1.10.0-rc.0

Details

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.

Is GHSA-cgm6-wvp9-4g5h in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected kubevirt.io/kubevirt, and gives you the command that fixes it.

More advisories for kubevirt.io/kubevirt

  • LowCVE-2026-13322KubeVirt downward metrics virtio-serial server vulnerable to unbounded memory consumption in kubevirt.io/kubevirt · 5 Nov 2026
  • LowCVE-2026-13218KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite in kubevirt.io/kubevirt · 5 Nov 2026
  • LowCVE-2026-9804KubeVirt has a Link Following issue in kubevirt.io/kubevirt · 7 Jul 2026
  • LowCVE-2026-7374KubeVirt has a Link Following vulnerability in kubevirt.io/kubevirt · 7 Jul 2026
  • MediumCVE-2026-13218KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite · 26 Jun 2026
  • LowCVE-2026-6383KubeVirt's authorization mechanism improperly truncates subresource names in kubevirt.io/kubevirt · 25 Jun 2026
All 36 advisories for kubevirt.io/kubevirt

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.