Description
When Calico is configured with the Azure IPAM plugin, the Calico CNI binary mutates the incoming CNI configuration to attach subnet information before delegating to the IPAM plugin. After mutating, the Azure IPAM helper logs the entire unmarshaled configuration map (stdinData) at INFO level to /var/log/calico/cni/cni.log on every CNI ADD and DEL invocation — once per pod scheduled or terminated on the node. When the cluster is deployed using token-based Kubernetes authentication, this log entry contains the ServiceAccount token, client key, and certificate authority in plaintext. Any principal with read access to /var/log/calico/cni/cni.log on a node can read these logs and extract the credentials, which grant cluster-wide Calico networking admin privileges.
Problem types
CWE-532 Insertion of sensitive information into log file
Product status
Any version before 3.32.0
Any version before 3.21.7
3.22.0 (semver) before 3.22.3
Any version before 22.4.0
Credits
Behnam Shobiri
Behnam Shobiri
Anthony Tam
Matt Dupre
Casey Davenport
References
github.com/projectcalico/calico/pull/12502
github.com/projectcalico/calico/pull/12527
github.com/projectcalico/calico/pull/12526
www.tigera.io/security-bulletins/tta-2026-002/