Cluster secret might leak in cluster details page in Argo CD
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| argoproj | argo-cd | 2.2.0 to before 2.6.15; 2.7.0 to before 2.7.14; 2.8.0 to before 2.8.3 | 2.6.15, 2.7.14, 2.8.3 | Patch available | CNA |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.2.0 to before 2.6.15 | 2.6.15 | Patch available | GHSA-fwr2-64vr-xv9m |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.7.0 to before 2.7.14 | 2.7.14 | Patch available | GHSA-fwr2-64vr-xv9m |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.8.0 to before 2.8.3 | 2.8.3 | Patch available | GHSA-fwr2-64vr-xv9m |
- argo-cd Vendorargoproj Affected 2.2.0 to before 2.6.15; 2.7.0 to before 2.7.14; 2.8.0 to before 2.8.3 Fixed in 2.6.15, 2.7.14, 2.8.3 Patch available CNA
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.2.0 to before 2.6.15 Fixed in 2.6.15 Patch available GHSA-fwr2-64vr-xv9m
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.7.0 to before 2.7.14 Fixed in 2.7.14 Patch available GHSA-fwr2-64vr-xv9m
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.8.0 to before 2.8.3 Fixed in 2.8.3 Patch available GHSA-fwr2-64vr-xv9m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* | 2.2.0 to before 2.6.15; 2.7.0 to before 2.7.14; 2.8.0 to before 2.8.3 | Vulnerable | argoproj |
- cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* Versions 2.2.0 to before 2.6.15; 2.7.0 to before 2.7.14; 2.8.0 to before 2.8.3 Vulnerable ·argoproj
Remediation
- Fix · CNA argo-cd (argoproj) Fixed in 2.6.15, 2.7.14, 2.8.3
- Fix · GHSA-fwr2-64vr-xv9m github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.6.15 Advisory →
- Fix · GHSA-fwr2-64vr-xv9m github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.7.14 Advisory →
- Fix · GHSA-fwr2-64vr-xv9m github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.8.3 Advisory →
Red Hat 2 advisories
- RHSA-2023:5030 Released 2023-09-08 · Red Hat rating CriticalRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.8 openshift-gitops-1/argocd-rhel8
- RHSA-2023:5029 Released 2023-09-08 · Red Hat rating CriticalRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.9 openshift-gitops-1/argocd-rhel8
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift GitOps 1.8 | Fixed | RHSA-2023:5030 |
| Red Hat OpenShift GitOps 1.9 | Fixed | RHSA-2023:5029 |
Not affected: 2 products
- Red Hat OpenShift GitOps 1.8
- Red Hat OpenShift GitOps 1.9
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40029
- 2026-10-03 Alias added: GHSA-fwr2-64vr-xv9m
References
Patch 2
Other 6
- https://github.com/argoproj/argo-cd/commit/44e52c4ae76e6da1343bdd54e57a822d93549f28
- https://github.com/argoproj/argo-cd/commit/7122b83fc346ec2729227405a2f9c2aa84b0bf80
- https://github.com/argoproj/argo-cd
- https://github.com/argoproj/argo-cd/releases/tag/v2.6.15
- https://github.com/argoproj/argo-cd/releases/tag/v2.7.14
- https://github.com/argoproj/argo-cd/releases/tag/v2.8.3
More argoproj Argo Cd vulnerabilities
- TI-2024-14377 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss CVSS 3.1CRITICAL 9.8
- TI-2024-14383 Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow CVSS 3.1CRITICAL 9.1
- TI-2026-31086 ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction CVSS 3.1CRITICAL 9.6
- TI-2024-21088 ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache CVSS 3.1CRITICAL 9.1
- TI-2026-33475 Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation CVSS 3.1HIGH 8.7
- TI-2025-37068 Argo CD is Vulnerable to Unauthenticated Remote DoS via malformed Azure DevOps git.push webhook CVSS 3.1HIGH 7.5
Sources
- CVE-2023-40029 · CVE Program
- CVE-2023-40029 · NVD
- FIRST EPSS
- GHSA-fwr2-64vr-xv9m · GitHub Advisory Database · CC BY 4.0
- CVE-2023-40029 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences