High, CVSS 7.5GoPublished
Flannel has cross-node remote code execution via extension backend BackendData injection
CVE-2026-32241 · GHSA-vchx-5pr6-ffx2
- Affected
- Go github.com/flannel-io/flannel <= 0.28.1
- Fixed in
- 0.28.2· Vendor fix available
- Issue
- Background The Flannel project includes an experimental Extension backend that allows users to easily prototype new backend types. This backend uses shell commands stored in Kubernetes annotations to configure network connectivity on the node. Note: consumers are only affected by this vulnerability if they use the experimental Extension backend. Other backends such as vxlan and wireguard are unaffected. Vulnerability This Extension backend is vulnerable to a command injection that allows an attacker who can set Kubernetes Node annotations to achieve root-level arbitrary command execution on every flannel node in the cluster. The Extension backend's SubnetAddCommand and SubnetRemoveCommand receive attacker-controlled data via stdin (from the flannel.alpha.coreos.com/backend-data Node annotation). The content of this annotation is unmarshalled and piped directly to a shell command without checks. Impact Kubernetes clusters using Flannel with the Extension backend are affected by this…
Recommended action: Upgrade to 0.28.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.