# CVE-2026-6720: Calicoctl leaks cluster credentials to stderr when verbose logging is enabled

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-3m4q-ggcj-j6m4, GO-2026-5893
- **Published:** 2026-05-28T15:47:42.519Z
- **Modified:** 2026-09-10T03:50:45.399Z

## Who should check

- Projects that depend on Go package github.com/projectcalico/calicoctl/v3 (\< 3.31.6)
- Projects that depend on Go package github.com/projectcalico/calicoctl
- Anyone running Tigera Calico \< 3.32.0
- Anyone running Tigera Calico Enterprise \< 3.21.7
- Anyone running Tigera Calico Cloud \< 22.4.0

## Description

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.

## Affected and fixed versions

- Go `github.com/projectcalico/calicoctl/v3`: affected \< 3.31.6; fixed 3.31.6 (osv)
- Go `github.com/projectcalico/calicoctl`: affected see advisory; fixed no fix listed yet (osv)
- Tigera Calico: \< 3.32.0 (cvelist)
- Tigera Calico Enterprise: \< 3.21.7 (cvelist)
- Tigera Calico Cloud: \< 22.4.0 (cvelist)

## Mitigation

- Upgrade github.com/projectcalico/calicoctl/v3 to 3.31.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-6720. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-6720.md
Affected: github.com/projectcalico/calicoctl/v3 < 3.31.6; github.com/projectcalico/calicoctl
Fixed in: 3.31.6

Steps:
1. Search this machine and project for github.com/projectcalico/calicoctl/v3 (Go), github.com/projectcalico/calicoctl (Go), Tigera Calico, Tigera Calico Enterprise, Tigera Calico Cloud: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-6720 being exploited?

There is no confirmed exploitation: CVE-2026-6720 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-6720?

High: CVSS 7.2 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-6720?

github.com/projectcalico/calicoctl/v3 \< 3.31.6; github.com/projectcalico/calicoctl.

### Is there a fix for CVE-2026-6720?

Yes. Fixed in 3.31.6. Upgrade github.com/projectcalico/calicoctl/v3 to 3.31.6 or later.

### How do I check if I'm affected by CVE-2026-6720?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.tigera.io/security-bulletins/tta-2026-003/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-6720>
- vendor: <https://github.com/advisories/GHSA-3m4q-ggcj-j6m4>
- patch: <https://github.com/projectcalico/calico/pull/12535>
- patch: <https://github.com/projectcalico/calico/pull/12536>
- patch: <https://github.com/projectcalico/calico/pull/12537>
- patch: <https://github.com/projectcalico/calico/commit/12908bb48a5bf8cbab5373f4d532509a30cf9b7f>
- patch: <https://github.com/projectcalico/calico/commit/8d87eddcb5eb6efc70c09eb0a33d63137359ea70>
- patch: <https://github.com/projectcalico/calico/commit/ce3ab2b39b5841757cbccf7922c895c47827f562>
- other: <https://github.com/projectcalico/calico>
- other: <https://www.tigera.io/security-bulletins/tta-2026-003>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-6720>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3m4q-ggcj-j6m4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5893> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-6720> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-6720>
