MediumGHSA-m67g-87rx-v42cCVE-2026-41185GO-2026-5891

Calico Inserts Sensitive Information into Log File

Published 28 May 2026 · Updated 10 Sept 2026

Is your project on an affected github.com/projectcalico/calico?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=2.0.0 <3.31.6
Fixed in
3.31.6
Update to the fixed version for your release line, for example:go get github.com/projectcalico/calico@v3.31.6
Affected
<1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
Fixed in
1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
Update to the fixed version for your release line, for example:go get github.com/projectcalico/calico@v1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f

Details

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.

Is GHSA-m67g-87rx-v42c in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/projectcalico/calico, and gives you the command that fixes it.

More advisories for github.com/projectcalico/calico

  • LowCVE-2026-41184Calico Inserts Sensitive Information into Log File in github.com/projectcalico/calico · 7 Jul 2026
  • MediumCVE-2026-41184Calico Inserts Sensitive Information into Log File · 28 May 2026
  • LowCVE-2024-33522Calico privilege escalation vulnerability in github.com/projectcalico/calico · 10 Jun 2024
  • HighCVE-2024-33522Calico privilege escalation vulnerability · 30 Apr 2024
  • HighCVE-2023-41378Calico Typha denial of service vulnerability · 6 Nov 2023
  • MediumCVE-2022-28224Calico vulnerable to pod route hijacking · 7 Jun 2022
All 8 advisories for github.com/projectcalico/calico

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.