CVE-2026-32241

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductFlannel
PublishedMar 27, 2026
First seenMar 27, 2026

How to fix

Update
  • flannel-io flannel0.28.2 or later
  • github.com/flannel-io/flannel0.28.2 or later

Affected products

ProductAffected versionsFixed in
flannel-io flannelv < 0.28.20.28.2
github.com/flannel-io/flannelGov < 0.28.20.28.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.