projectcalico/calico · Security
Calico Inserts Sensitive Information into Log File
- GHSA ID
- GHSA-9p7w-w5q6-mxj3
- CVE ID
- CVE-2026-41184
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 6 · 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
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.
CWEs
- CWE-532 · Insertion of Sensitive Information into Log File
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41184 ↗
- https://github.com/projectcalico/calico/pull/12502 ↗
- https://github.com/projectcalico/calico/pull/12526 ↗
- https://github.com/projectcalico/calico/pull/12527 ↗
- https://www.tigera.io/security-bulletins/tta-2026-001 ↗
- https://github.com/projectcalico/calico/commit/0ca653db0ae7400ea9fb066daa7f45c902482271 ↗
- https://github.com/projectcalico/calico/commit/cd73bc2cea0f4989772f2deb93909e7cfac927e0 ↗
- https://github.com/projectcalico/calico/commit/da9ea3a13927a35e4022b787d17a005b2157d812 ↗
- https://github.com/advisories/GHSA-9p7w-w5q6-mxj3 ↗