Skip to content

CVE-2025-64432 KubeVirt Affected by an Authentication Bypass in Kubernetes Aggregation Layer

MediumCVSS 4.7 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known

Description

KubeVirt is a virtual machine management add-on for Kubernetes. Versions 1.5.3 and below, and 1.6.0 contained a flawed implementation of the Kubernetes aggregation layer's authentication flow which could enable bypass of RBAC controls. It was discovered that the virt-api component fails to correctly authenticate the client when receiving API requests over mTLS. In particular, it fails to validate the CN (Common Name) field in the received client TLS certificates against the set of allowed values defined in the extension-apiserver-authentication configmap. Failre to validate certain fields in the client TLS certificate may allow an attacker to bypass existing RBAC controls by directly communicating with the aggregated API server, impersonating the Kubernetes API server and its aggregator component. This issue is fixed in versions 1.5.3 and 1.6.1.

Affected products

ProductAffected versionsFixed in
kubevirt.io/kubevirt(Go) < 1.5.3 1.5.3
kubevirt.io/kubevirt(Go) >= 1.6.0-alpha.0, < 1.6.1 1.6.1
kubevirt.io/kubevirt(Go) >= 1.7.0-alpha.0, < 1.7.0-rc.0 1.7.0-rc.0
kubevirt.io/kubevirt(Go) >= 1.6.0-alpha.0, < 1.6.0-beta.0.0.20250730135146-231dc69723f3 1.6.0-beta.0.0.20250730135146-231dc69723f3
kubevirt.io/kubevirt(Go) >= 1.6.0-rc.0, < 1.6.1 1.6.1
kubevirt.io/kubevirt(Go) >= 1.6.2, < 1.7.0-rc.0 1.7.0-rc.0
cbl-mariner kubevirt(CBL-Mariner:2.0) All versions No fix listed
cbl-mariner kubevirt(CBL-Mariner:2.0) < 0.59.0-33 0.59.0-33
azure linux kubevirt(Azure Linux:3.0) < 1.5.3-2 1.5.3-2
kubevirt github.com/kubevirt/kubevirt = < 1.5.3 No fix listed
kubevirt github.com/kubevirt/kubevirt = >= 1.6.0, < 1.6.1 No fix listed
kubevirt github.com/kubevirt/kubevirt < 1.5.3 1.5.3
kubevirt github.com/kubevirt/kubevirt = 1.6.0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-rc0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-rc1 No fix listed

References