CVE-2023-40029
Argo CD vulnerability analysis and mitigation

Overview

Argo CD, a declarative continuous deployment tool for Kubernetes, was found to have a critical vulnerability (CVE-2023-40029) where cluster secrets could potentially be exposed through the kubectl.kubernetes.io/last-applied-configuration annotation. The vulnerability was discovered in versions 2.2.0 through 2.6.14, 2.7.113, and 2.8.2, and was patched in versions 2.8.3, 2.7.14, and 2.6.15 (GitHub Advisory).

Technical details

The vulnerability was introduced in pull request #7139, which added functionality to manage cluster labels and annotations. Since clusters are stored as secrets, this feature inadvertently exposed the kubectl.kubernetes.io/last-applied-configuration annotation containing the full secret body. To access this information via the Argo CD API, a user must have clusters, get RBAC access. The vulnerability has been assigned a CVSS v3.1 base score of 9.6 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N) by NVD, and 9.9 CRITICAL by GitHub (NVD, GitHub Advisory).

Impact

While in many cases cluster secrets may not contain sensitive information, in scenarios using bearer-token authentication, the exposed contents could be highly sensitive. The vulnerability could lead to unauthorized access to cluster authentication details and other confidential configuration data (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to the patched versions (2.8.3, 2.7.14, or 2.6.15). For those unable to upgrade immediately, a workaround is available by updating/deploying cluster secrets with the server-side-apply flag, which doesn't use the kubectl.kubernetes.io/last-applied-configuration annotation. Existing secrets require manual removal of the annotation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Argo CD vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55190CRITICAL9.9
  • Argo CDArgo CD
  • github.com/argoproj/argo-cd
NoYesSep 04, 2025
CVE-2025-59538HIGH7.5
  • Argo CDArgo CD
  • argocd-2.14
NoYesOct 01, 2025
CVE-2025-59537HIGH7.5
  • Argo CDArgo CD
  • github.com/argoproj/argo-cd
NoYesOct 01, 2025
CVE-2025-59531HIGH7.5
  • Argo CDArgo CD
  • github.com/argoproj/argo-cd
NoYesOct 01, 2025
CVE-2025-55191MEDIUM5.3
  • Argo CDArgo CD
  • cpe:2.3:a:argoproj:argo_cd
NoYesSep 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management