Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/projectcalico/calico
  4. ›
  5. CVE-2026-41185

CVE-2026-41185: Calico Inserts Sensitive Information into Log File

May 28, 2026 (updated July 2, 2026)

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

  • github.com/advisories/GHSA-m67g-87rx-v42c
  • github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271
  • github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0
  • github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812
  • github.com/projectcalico/calico/pull/12502
  • github.com/projectcalico/calico/pull/12526
  • github.com/projectcalico/calico/pull/12527
  • nvd.nist.gov/vuln/detail/CVE-2026-41185
  • www.tigera.io/security-bulletins/tta-2026-002

Code Behaviors & Features

Detect and mitigate CVE-2026-41185 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f, all versions starting from 2.0.0 before 3.31.6

Fixed versions

  • 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
  • 3.31.6

Solution

Upgrade to versions 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f, 3.31.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

go/github.com/projectcalico/calico/CVE-2026-41185.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 21 Jul 2026 00:18:40 +0000.