Advisory

GHSA-9p7w-w5q6-mxj3

Also known as: CVE-2026-41184, GO-2026-5888

Summary

Calico Inserts Sensitive Information into Log File

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-28 18:30 UTC
Modified
2026-07-07 16:11 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