CVE-2026-41185: Calico Inserts Sensitive Information into Log File
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.
Published May 28, 2026 · Updated Jul 2, 2026
Affected packages
github.com/projectcalico/calico
- Ecosystem
- Go
- Affected
- >= 2.0.0, < 3.31.6
- Fixed in
- 3.31.6
- Check
go list -m github.com/projectcalico/calico
github.com/projectcalico/calico
- Ecosystem
- Go
- Affected
- < 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
- Fixed in
- 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
- Check
go list -m github.com/projectcalico/calico
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41185
- https://github.com/projectcalico/calico/pull/12502
- https://github.com/projectcalico/calico/pull/12526
- https://github.com/projectcalico/calico/pull/12527
- https://www.tigera.io/security-bulletins/tta-2026-002
- https://github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271
- https://github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0
- https://github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812
- https://github.com/advisories/GHSA-m67g-87rx-v42c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
