CVE-2026-41185: ServiceAccount token disclosure via Azure IPAM CNI plugin logs
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
Calico Azure IPAM pluginfrom your environment.If the Azure IPAM plugin is not required, remove or stop configuring the Azure IPAM plugin to prevent the Calico CNI from mutating configurations and causing sensitive data to be logged.
- Configuration
Configure the Calico CNI / Azure IPAM helper to stop logging the unmarshaled CNI configuration (stdinData). If a specific setting for suppressing stdinData logging is not available, raise the component log level to WARN or ERROR so that INFO-level logging of stdinData does not occur.
Calico CNI (Azure IPAM helper) logging of unmarshaled CNI configuration (stdinData) / log level = disable logging of stdinData or set log level to WARN/ERROR - Compensating control
Restrict read access to /var/log/calico/cni/cni.log on all nodes to trusted administrators only (host filesystem permissions, ACLs, or node-level access controls). Ensure log collection/aggregation agents do not forward these logs to untrusted destinations.
- Operational
Treat any ServiceAccount token, client key, or certificate authority that may have been written to /var/log/calico/cni/cni.log as potentially compromised: rotate/recreate affected ServiceAccount tokens and client keys/certificates and revoke the old credentials.
- Operational
Audit existing /var/log/calico/cni/cni.log files on all nodes for occurrences of ServiceAccount tokens, client keys, or certificate authorities, and document which credentials and time ranges were exposed to guide rotation and incident response.
Event History
Frequently Asked Questions
What is the risk level of CVE-2026-41185?
The risk level of CVE-2026-41185 is rated as medium with a CVSS score of 4.0.
What does CVE-2026-41185 expose?
CVE-2026-41185 allows for the disclosure of ServiceAccount tokens via logs in the Azure IPAM CNI plugin.
Which software is affected by CVE-2026-41185?
CVE-2026-41185 affects the Tigera Calico CNI and Tigera Calico Azure IPAM plugin.
How can I mitigate the risks of CVE-2026-41185?
To mitigate the risks of CVE-2026-41185, it is recommended to restrict log access and consider upgrading to a patched version of the software.
What happens during the exploitation of CVE-2026-41185?
During the exploitation of CVE-2026-41185, the Azure IPAM helper logs sensitive information, including ServiceAccount tokens, to the logs.