{"cve":"CVE-2023-40029","nvd":{"published":"2023-09-07T23:15:09.763","modified":"2026-06-17T06:15:50.033","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6},"cwes":["CWE-532","CWE-200"],"references":["https://github.com/argoproj/argo-cd/commit/4b2e5b06bff2ffd8ed1970654ddd8e55fc4a41c4","https://github.com/argoproj/argo-cd/pull/7139","https://github.com/argoproj/argo-cd/security/advisories/GHSA-fwr2-64vr-xv9m","https://github.com/argoproj/argo-cd/commit/4b2e5b06bff2ffd8ed1970654ddd8e55fc4a41c4","https://github.com/argoproj/argo-cd/pull/7139"],"products":["argoproj:argo_cd"],"source":"nvd","synced_at":"2026-10-19T21:39:24.235896374+00:00"},"epss":{"cve":"CVE-2023-40029","score":0.01196,"percentile":0.68082,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fwr2-64vr-xv9m","url":"https://osv.dev/vulnerability/GHSA-fwr2-64vr-xv9m","summary":"Argo CD cluster secret might leak in cluster details page","modified":"2024-08-21T14:41:49.397772Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.2.0 <2.6.15"],"fixed":["2.6.15"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.7.0 <2.7.14"],"fixed":["2.7.14"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.8.0 <2.8.3"],"fixed":["2.8.3"]}]},{"id":"GO-2023-2049","url":"https://osv.dev/vulnerability/GO-2023-2049","summary":"Argo CD cluster secret might leak in cluster details page in github.com/argoproj/argo-cd","modified":"2026-03-03T04:54:09.189917Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.2.0 <2.6.15",">=2.7.0 <2.7.14",">=2.8.0 <2.8.3"],"fixed":["2.6.15","2.7.14","2.8.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}