GHSA-9p7w-w5q6-mxj3

Suggest an improvement
Source
https://github.com/advisories/GHSA-9p7w-w5q6-mxj3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9p7w-w5q6-mxj3/GHSA-9p7w-w5q6-mxj3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9p7w-w5q6-mxj3
Aliases
Downstream
MINI (7)
Published
2026-05-28T18:30:32Z
Modified
2026-07-07T16:11:05Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.0 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-532"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T18:01:02Z",
    "nvd_published_at":  "2026-05-28T17:16:22Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/projectcalico/calico

Package

Name
github.com/projectcalico/calico
View open source insights on deps.dev
Purl
pkg:golang/github.com/projectcalico/calico

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
3.31.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9p7w-w5q6-mxj3/GHSA-9p7w-w5q6-mxj3.json"

Go / github.com/projectcalico/calico

Package

Name
github.com/projectcalico/calico
View open source insights on deps.dev
Purl
pkg:golang/github.com/projectcalico/calico

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.11.0-cni-plugin.0.20260417001138-cd73bc2cea0f

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9p7w-w5q6-mxj3/GHSA-9p7w-w5q6-mxj3.json"