CVE-2026-2270: StatefulSet and ControllerRevision write permissions allow cross-namespace pod creation
A confused deputy attack exists in the StatefulSet controller that allows a user with namespace-scoped write permissions on StatefulSet and ControllerRevision objects to create a cross-namespace pod. An attacker exploiting this vulnerability would have full control over the resulting pod’s metadata and specification, including namespace selection. Note that the cross-namespace pod will be immediately deleted by the garbage collector unless the attacker is able to construct a valid StatefulSet OwnerReference. This would require referencing the UID of an existing StatefulSet in the victim’s namespace.
Other sources
StatefulSet and ControllerRevision write permissions allow cross-namespace pod creation
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/kubernetesto a version that resolves this vulnerability.Fixed in 1.20.5+really1.20.2-1.1+deb12u1Fixed in 1.32.3+ds-2Fixed in 1.36.4+ds-1 - Upgrade
Upgrade
debian/kubernetesto a version that resolves this vulnerability.Fixed in 1.20.5+really1.20.2-1 - Upgrade
Upgrade
azurelinux/kubernetesto a version that resolves this vulnerability.Fixed in 1.30.10-33
Event History
Frequently Asked Questions
What level of Kubernetes access is relevant to exploitation?
The issue involves write permissions for StatefulSet and Controllervision resources.