CVE-2023-40029
Cluster secret might leak in cluster details page in Argo CD
Also known as BIT-argo-cd-2023-40029, GHSA-fwr2-64vr-xv9m, GO-2023-2049
Mitigation
- Upgrade github.com/argoproj/argo-cd/v2 to one of 2.6.15, 2.7.14, 2.8.3 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/argoproj/argo-cd/v2 (>= 2.2.0, < 2.6.15)
- Projects that depend on Go package github.com/argoproj/argo-cd
- Anyone running argoproj argo-cd >= 2.2.0, < 2.6.15; >= 2.7.0, < 2.7.14; >= 2.8.0, < 2.8.3
Vulnerability facts
- Affected
- github.com/argoproj/argo-cd/v2 >= 2.2.0, < 2.6.15; github.com/argoproj/argo-cd
- Fixed in
- 2.6.15, 2.7.14, 2.8.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 1.07% chance of exploitation in 30 days (percentile 64, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively using Argo CD / kubectl apply. As a result, the full secret body is stored in`kubectl.kubernetes.io/last-applied-configuration` annotation. pull request #7139 introduced the ability to manage cluster labels and annotations. Since clusters are stored as secrets it also exposes the `kubectl.kubernetes.io/last-applied-configuration` annotation which includes full secret body. In order to view the cluster annotations via the Argo CD API, the user must have `clusters, get` RBAC access. **Note:** In many cases, cluster secrets do not contain any actually-secret information. But sometimes, as in bearer-token auth, the contents might be very sensitive. The bug has been patched in versions 2.8.3, 2.7.14, and 2.6.15. Users are advised to upgrade. Users unable to upgrade should update/deploy cluster secret with `server-side-apply` flag which does not use or rely on `kubectl.kubernetes.io/last-applied-configuration` annotation. Note: annotation for existing secrets will require manual removal.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/argoproj/argo-cd/v2 | >= 2.2.0, < 2.6.15 | 2.6.15, 2.7.14, 2.8.3 | osv |
| Go github.com/argoproj/argo-cd | — | — | osv |
| argoproj argo-cd | >= 2.2.0, < 2.6.15; >= 2.7.0, < 2.7.14; >= 2.8.0, < 2.8.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-40029. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-40029.md Affected: github.com/argoproj/argo-cd/v2 >= 2.2.0, < 2.6.15; github.com/argoproj/argo-cd Fixed in: 2.6.15, 2.7.14, 2.8.3 Steps: 1. Search this machine and project for github.com/argoproj/argo-cd/v2 (Go), github.com/argoproj/argo-cd (Go), argoproj argo-cd: 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.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-40029 being exploited?
There is no confirmed exploitation: CVE-2023-40029 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-40029?
Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2023-40029?
github.com/argoproj/argo-cd/v2 >= 2.2.0, < 2.6.15; github.com/argoproj/argo-cd.
Is there a fix for CVE-2023-40029?
Yes. Fixed in 2.6.15, 2.7.14, 2.8.3. Upgrade github.com/argoproj/argo-cd/v2 to one of 2.6.15, 2.7.14, 2.8.3 (or later in the same release line).
How do I check if I'm affected by CVE-2023-40029?
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.