CVE-2026-6720 json
Calicoctl leaks cluster credentials to stderr when verbose logging is enabled
published 2026-05-28 5 mo ago modified 2026-09-10 1 mo ago also GHSA-3m4q-ggcj-j6m4 , GO-2026-5893 , EUVD-2026-32932
- cvss
- 7.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
When calicoctl is invoked with --log-level=info or --log-level=debug, the client prints the full contents of its loaded connection-configuration struct to stderr in a single log line. The struct embeds every credential calicoctl uses to talk to the cluster — inline kubeconfig (with bearer token), Kubernetes API bearer token, etcd password, and inline PEM-encoded etcd client certificate and key. Any reader of that stderr stream — CI job logs, session-recording archives, shared support-ticket transcripts, or local filesystem viewers on the host that ran calicoctl — can extract these credentials with zero Kubernetes privilege. calicoctl's default log level is panic, so this issue only triggers when verbose logging is explicitly enabled.
Patch / fix
- go github.com/projectcalico/calicoctl/v3 3.31.6
- Tigera Calico 3.32.0
- Tigera Calico Enterprise 3.21.7, 3.22.3
- Tigera Calico Cloud 22.4.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/projectcalico/calico@12908bb commit
- github.com/projectcalico/calico@8d87edd commit
- github.com/projectcalico/calico@ce3ab2b commit
- github.com/projectcalico/calico#12535 pull request
- github.com/projectcalico/calico#12536 pull request
- github.com/projectcalico/calico#12537 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H |
| CNA | 4.0 | 7.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/projectcalico/calicoctl/v3 | <3.31.6 all versions |
3.31.6 |
| go | github.com/projectcalico/calicoctl | all versions |
no fix listed |
Affected products
- Tigera Calico
- Tigera Calico Enterprise
- Tigera Calico Cloud
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/projectcalico/calico/pull/12535
patch, web
-
github.com
/projectcalico/calico/pull/12536
patch, web
-
github.com
/projectcalico/calico/pull/12537
patch, web
-
github.com
/projectcalico/calico/commit/12908bb48a5bf8cbab5373f4d532509a30cf9b7f
web
-
github.com
/projectcalico/calico/commit/8d87eddcb5eb6efc70c09eb0a33d63137359ea70
web
-
github.com
/projectcalico/calico/commit/ce3ab2b39b5841757cbccf7922c895c47827f562
web
-
tigera.io
/security-bulletins/tta-2026-003/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-6720
advisory
-
github.com
/projectcalico/calico
package
-
tigera.io
/security-bulletins/tta-2026-003
web
-
github.com
/advisories/GHSA-3m4q-ggcj-j6m4
advisory
Sources
- CVE List CVE-2026-6720
- GitHub Advisory GHSA-3m4q-ggcj-j6m4
- NVD CVE-2026-6720
- OSV GO-2026-5893
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.