GHSA-9p7w-w5q6-mxj3MediumCVSS 6.5

Calico Inserts Sensitive Information into Log File

Published
May 28, 2026
Last Modified
July 2, 2026

🔗 CVE IDs covered (1)

📋 Description

In Calico, the install-cni init container logs the rendered CNI configuration to standard output. When the configuration template uses the SERVICEACCOUNT_TOKEN placeholder (Canal/Flannel-Calico deployments), the installer substitutes the live Kubernetes ServiceAccount bearer token before logging, exposing the token to any authenticated user with pods/log permission in the namespace with calico-node. The token holds patch privileges on pods/status, enabling annotation-based attacks against cluster workloads. The default kubeconfig-based authentication path is not affected. This is a direct regression of TTA-2018-001.

🎯 Affected products2

  • go/github.com/projectcalico/calico:>= 2.0.0, < 3.31.6
  • go/github.com/projectcalico/calico:< 1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f

🔗 References (9)