{"id":"CVE-2026-6720","aliases":["GHSA-3m4q-ggcj-j6m4","GO-2026-5893"],"url":"https://o3.security/vulnerability/CVE-2026-6720","summary":"Calicoctl leaks cluster credentials to stderr when verbose logging is enabled","details":"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.","published":"2026-05-28T15:47:42.519Z","modified":"2026-08-12T03:51:36.624569482Z","cvss":null,"epss":{"score":0.00224,"percentile":0.13359,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/projectcalico/calicoctl/v3","fixedVersion":"3.31.6"}],"fix":{"url":"https://github.com/projectcalico/calico/pull/12535","label":"projectcalico/calico#12535"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6720.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6720"},{"type":"ADVISORY","url":"https://www.tigera.io/security-bulletins/tta-2026-003/"},{"type":"FIX","url":"https://github.com/projectcalico/calico/pull/12535"},{"type":"FIX","url":"https://github.com/projectcalico/calico/pull/12536"},{"type":"FIX","url":"https://github.com/projectcalico/calico/pull/12537"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.624569482Z"}}