CVE-2026-32241 Flannel vulnerable to cross-node remote code execution via extension backend BackendData injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Kubernetes
Description
Flannel is a network fabric for containers, designed for Kubernetes. The Flannel project includes an experimental Extension backend that allows users to easily prototype new backend types. In versions of Flannel prior to 0.28.2, 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. Kubernetes clusters using Flannel with the Extension backend are affected by this vulnerability. Other backends such as vxlan and wireguard are unaffected. The vulnerability is fixed in version v0.28.2. As a workaround, use Flannel with another backend such as vxlan or wireguard.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux flannel(Azure Linux 3.0) | < 0.24.2-25; All versions | 0.24.2-25 | Partially fixed |
| cbl-mariner flannel(CBL-Mariner 2.0) | < 0.14.0-31 | 0.14.0-31 | Fixed |
| flannel-io github.com/flannel-io/flannel | < 0.28.2; = < 0.28.2 | 0.28.2 | Fixed |
| flannel-io github.com/flannel-io/flannel(Go) | < 0.28.2; <= 0.28.1 | 0.28.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| flannel-io github.com/flannel-io/flannel(Go) | < 0.28.2 | 0.28.2 |
| azure linux flannel(Azure Linux:3.0) | < 0.24.2-25 | 0.24.2-25 |
| cbl-mariner flannel(CBL-Mariner:2.0) | < 0.14.0-31 | 0.14.0-31 |
| azure linux flannel(Azure Linux:3.0) | All versions | No fix listed |
| flannel-io github.com/flannel-io/flannel | = < 0.28.2 | No fix listed |
| flannel-io github.com/flannel-io/flannel(Go) | <= 0.28.1 | No fix listed |
| flannel-io github.com/flannel-io/flannel | < 0.28.2 | 0.28.2 |
References
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2 mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2 product release-notes
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com