6.0medium
ServiceAccount token disclosure via Azure IPAM CNI plugin logs
- Severity
- 6.0medium CVSS:4.0 by Tigera
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Tigera
- Also known as
- GHSA-m67g-87rx-v42cGO-2026-5891
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Tigera Calico | before 3.32.0, before 3.21.7, before 22.4.0, from 3.22.0 before 3.22.3 | CVE List, NVD |
| Tigera Calico Enterprise | before 3.21.7, from 3.22.0 before 3.22.3 | CVE List |
| Tigera Calico Cloud | before 22.4.0 | CVE List |
| github.com/projectcalico/calico (Go) | from 2.0.0 before 3.31.6, before 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f | GitHub Advisory Database, Go Vulnerability Database |
| github.com/projectcalico/calico/v3 (Go) | all versions | Go Vulnerability Database |
All scores
| Tigera | 6.0medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:L |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
Calico Inserts Sensitive Information into Log File in github.com/projectcalico/calico.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/projectcalico/calico/v3 before v3.31.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41185 changed 2026-05-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m67g-87rx-v42c changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5891 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-41185 changed 2026-06-17 | Public domain |