{"id":"CVE-2026-6720","aliases":["CVE-2026-6720","GHSA-3m4q-ggcj-j6m4","GO-2026-5893"],"related":[],"kind":"vulnerability","state":"published","title":"Calicoctl leaks cluster credentials to stderr when verbose logging is enabled","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Calico Inserts Sensitive Information into Log File in github.com/projectcalico/calicoctl.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/projectcalico/calicoctl/v3 before v3.31.6.","format":"markdown","source":"go"}],"published":"2026-05-28T15:47:42.519Z","modified":"2026-09-10T03:50:45.399Z","severity":{"scorer":"Tigera","scheme":"CVSS:4.0","vector":"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","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"Tigera","scheme":"CVSS:4.0","vector":"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","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.32.0","status":"affected"}],"vendor":"Tigera","product":"Calico","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.21.7","status":"affected"},{"type":"semver","version":"3.22.3","status":"unaffected"}],"vendor":"Tigera","product":"Calico Enterprise","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"22.4.0","status":"affected"}],"vendor":"Tigera","product":"Calico Cloud","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.31.6"}],"ecosystem":"Go","package":"github.com/projectcalico/calicoctl/v3","purl":"pkg:golang/github.com/projectcalico/calicoctl/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/projectcalico/calicoctl","purl":"pkg:golang/github.com/projectcalico/calicoctl","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/projectcalico/calicoctl/v3","purl":"pkg:golang/github.com/projectcalico/calicoctl/v3","source":"go"}],"references":[{"url":"https://github.com/projectcalico/calico/pull/12535","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/projectcalico/calico/pull/12536","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/projectcalico/calico/pull/12537","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.tigera.io/security-bulletins/tta-2026-003/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6720","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/projectcalico/calico/commit/12908bb48a5bf8cbab5373f4d532509a30cf9b7f","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/projectcalico/calico/commit/8d87eddcb5eb6efc70c09eb0a33d63137359ea70","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/projectcalico/calico/commit/ce3ab2b39b5841757cbccf7922c895c47827f562","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/projectcalico/calico","tags":["package"],"sources":["ghsa"]},{"url":"https://www.tigera.io/security-bulletins/tta-2026-003","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-3m4q-ggcj-j6m4","tags":["advisory"],"sources":["go"]}],"credits":["Behnam Shobiri","Anthony Tam"],"assigner":"Tigera","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-28T17:04:05.727Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6720","url":"https://www.cve.org/CVERecord?id=CVE-2026-6720","licence":"CVE Terms of Use","modified":"2026-05-28T17:04:11.659Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3m4q-ggcj-j6m4","url":"https://github.com/advisories/GHSA-3m4q-ggcj-j6m4","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:45.399Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5893","url":"https://pkg.go.dev/vuln/GO-2026-5893","licence":"CC-BY-4.0","modified":"2026-07-07T16:01:31.270Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6720","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6720","licence":"Public domain","modified":"2026-06-17T11:01:12.887Z"}],"updatedAt":"2026-11-25T22:59:22.970Z","epss":{"score":0.00224,"percentile":0.13932,"date":"2026-12-01T12:00:22.000Z"}}