Advisory

GHSA-m67g-87rx-v42c

Also known as: CVE-2026-41185, GO-2026-5891

Summary

Calico Inserts Sensitive Information into Log File

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-28 18:30 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

github.com/projectcalico/calico

Go · All systems

Affected

  • introduced 2.0.0, fixed 3.31.6 (semver)

Fixed versions

3.31.6

Fix

github.com/projectcalico/calico

Go · All systems

Affected

  • introduced 0, fixed 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f (semver)

Fixed versions

1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f

Fix

  • Fixed version 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f
    go get github.com/projectcalico/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences