Flannel vulnerable to cross-node remote code execution via extension backend BackendData injection
cve-program · CVE-2026-32241
PublishedFlannel 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.
Read the publisher's advisoryeuvd · EUVD-2026-16771
PublishedFlannel 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.
Read the publisher's advisorynvd · CVE-2026-32241
PublishedFlannel 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.
Read the publisher's advisoryosv · GHSA-vchx-5pr6-ffx2
Published### 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 vulnerability. Other backends such as vxlan and wireguard are unaffected. ### Patches This is fixed in version v0.28.2. ### Workaround If consumers cannot update to a patched version, then use Flannel with another backend such as vxlan or wireguard. ### Credits Flannel would like to thank Shachar Tal from Palo Alto Networks for reporting this vulnerability.
Read the publisher's advisoryosv · GO-2026-4894
PublishedFlannel has cross-node remote code execution via extension backend BackendData injection in github.com/flannel-io/flannel
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-32241 · CVE overview and exploitation status
cve-program · CVE-2026-32241
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2
euvd · EUVD-2026-16771
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2
nvd · CVE-2026-32241
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2
osv · GHSA-vchx-5pr6-ffx2
- https://github.com/flannel-io/flannel/security/advisories/GHSA-vchx-5pr6-ffx2
- https://nvd.nist.gov/vuln/detail/CVE-2026-32241
- https://github.com/flannel-io/flannel/commit/08bc9a4c990ae785d2fcb448f4991b58485cd26a
- https://github.com/flannel-io/flannel
- https://github.com/flannel-io/flannel/releases/tag/v0.28.2