{"schemaVersion":3,"id":"CVE-2023-40029","aliases":["GHSA-fwr2-64vr-xv9m","BIT-argo-cd-2023-40029","GO-2023-2049"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-09-07T22:11:56.361Z","modified":"2024-09-26T18:22:28.890Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","exploitability":7.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01196,"percentile":0.67799,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01196},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01196,"percentile":0.67799}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01196,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01196,"percentile":0.67799}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ARGOPROJ_ARGO-CD","name":"Argo Cd","source":"github","url":"https://github.com/argoproj/argo-cd/blob/a1afe44066fcd0a0ab90a02a23177164bbad42cf/util/diff/diff.go#L399","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File","description":"The product writes sensitive information to a log file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/532.html"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"argo cd","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 2.6.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7.0, < 2.7.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0, < 2.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.6.15 | ≥ 2.7.0, < 2.7.14 | ≥ 2.8.0, < 2.8.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo_cd"},{"vendor":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 2.6.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7.0, < 2.7.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0, < 2.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.6.15 | ≥ 2.7.0, < 2.7.14 | ≥ 2.8.0, < 2.8.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo-cd"},{"vendor":"github.com/argoproj","product":"argo-cd","name":"github.com/argoproj/argo-cd","label":"argo-cd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":null},{"vendor":"github.com/argoproj/argo-cd","product":"v2","name":"github.com/argoproj/argo-cd/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd/v2","purlType":"golang","versions":[{"text":"≥ 2.2.0, < 2.6.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.7.0, < 2.7.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0, < 2.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.6.15 | ≥ 2.7.0, < 2.7.14 | ≥ 2.8.0, < 2.8.3","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-fwr2-64vr-xv9m","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-fwr2-64vr-xv9m","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/argoproj/argo-cd/pull/7139","label":"github.com/argoproj/argo-cd/pull/7139","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Vendor Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/4b2e5b06bff2ffd8ed1970654ddd8e55fc4a41c4","label":"github.com/argoproj/argo-cd/commit/4b2e5b06bff2ffd8ed1970654ddd8e55fc4a41c4","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40029","label":"nvd.nist.gov/vuln/detail/CVE-2023-40029","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/44e52c4ae76e6da1343bdd54e57a822d93549f28","label":"github.com/argoproj/argo-cd/commit/44e52c4ae76e6da1343bdd54e57a822d93549f28","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/argoproj/argo-cd/commit/7122b83fc346ec2729227405a2f9c2aa84b0bf80","label":"github.com/argoproj/argo-cd/commit/7122b83fc346ec2729227405a2f9c2aa84b0bf80","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/argoproj/argo-cd","label":"github.com/argoproj/argo-cd","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.6.15","label":"github.com/argoproj/argo-cd/releases/tag/v2.6.15","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.7.14","label":"github.com/argoproj/argo-cd/releases/tag/v2.7.14","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.8.3","label":"github.com/argoproj/argo-cd/releases/tag/v2.8.3","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-07T22:11:56.361Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-26T18:22:28.890Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:49:35.598Z","stale":false,"partial":false}}