{"id":"CVE-2024-31990","aliases":["CVE-2024-31990","GHSA-2gvw-w6fj-7m3c","BIT-ARGO-CD-2024-31990","GO-2024-2728"],"related":[],"kind":"vulnerability","state":"published","title":"Argo CD' API server does not enforce project sourceNamespaces","summary":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The API server does not enforce project sourceNamespaces which allows attackers to use the UI to edit resources which should only be mutable via gitops. This vulenrability is fixed in 2.10.7, 2.9.12, and 2.8.16.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The API server does not enforce project sourceNamespaces which allows attackers to use the UI to edit resources which should only be mutable via gitops. This vulenrability is fixed in 2.10.7, 2.9.12, and 2.8.16.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nI can convince the UI to let me do things with an invalid Application.\n1. Admin gives me `p, michael, applications, *, demo/*, allow`, where `demo` can just deploy to the `demo` namespace\n2. Admin gives me AppProject `dev` which reconciles from ns `dev-apps`\n3. Admin gives me `p, michael, applications, sync, dev/*, allow`, i.e. no updating via the UI allowed, gitops-only\n4. I create an Application called `pwn` in `dev-apps` with project dev and sync the app with sources from git\n5. I change the Application’s project to demo via kubectl or gitops (whichever mechanism my admins have given me, because it should be safe)\n6. I use the UI to edit the resource which should only be mutable via gitops\n\n### Patches\nA patch for this vulnerability has been released in the following Argo CD versions:\n\nv2.10.7 \nv2.9.12 \nv2.8.16\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\nJoin us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd\n\n### Credits\nThis vulnerability was found & reported by @crenshaw-dev (Michael Crenshaw)\n\nThe Argo team would like to thank these contributors for their responsible disclosure and constructive communications during the resolve of this issue","format":"markdown","source":"ghsa"},{"lang":"en","text":"Argo CD's API server does not enforce project sourceNamespaces in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"es","text":"Argo CD es una herramienta declarativa de entrega continua de GitOps para Kubernetes. El servidor API no aplica los espacios de nombres de origen del proyecto, lo que permite a los atacantes usar la interfaz de usuario para editar recursos que solo deberían poder modificarse a través de gitops. Esta vulnerabilidad se corrigió en 2.10.7, 2.9.12 y 2.8.16.","source":"nvd"}],"published":"2024-04-15T19:52:55.718Z","modified":"2026-09-08T08:45:45.596Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 2.10.0, < 2.10.7","status":"affected"},{"version":">= 2.9.0, < 2.9.12","status":"affected"},{"version":">= 2.4.0, < 2.8.16","status":"affected"}],"vendor":"argoproj","product":"argo-cd","source":"cvelist"},{"ranges":[{"version":"*","status":"affected"}],"vendor":"kubernetes","product":"argo-cd","cpe":"cpe:2.3:a:kubernetes:argo-cd:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.4.0","status":"affected","fixed":"2.8.16"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.9.0","status":"affected","fixed":"2.9.12"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.10.0","status":"affected","fixed":"2.10.7"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"go"},{"ranges":[{"type":"semver","introduced":"2.4.0","status":"affected","fixed":"2.8.16"},{"type":"semver","introduced":"2.9.0","status":"affected","fixed":"2.9.12"},{"type":"semver","introduced":"2.10.0","status":"affected","fixed":"2.10.7"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"2.4.0","fixed":"2.8.16"},{"status":"affected","introduced":"2.9.0","fixed":"2.9.12"},{"status":"affected","introduced":"2.10.0","fixed":"2.10.7"}],"vendor":"argoproj","product":"argo_cd","cpe":"cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.4.0","status":"affected","fixed":"2.10.7"}],"ecosystem":"Bitnami","package":"argo-cd","purl":"pkg:bitnami/argo-cd","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-2gvw-w6fj-7m3c","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/commit/c514105af739eebedb9dbe89d8a6dd8dfc30bb2c","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/commit/c5a252c4cc260e240e2074794aedb861d07e9ca5","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/commit/e0ff56d89fbd7d066e9c862b30337f6520f13f17","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31990","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/argoproj/argo-cd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-23T18:46:24.506Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31990","url":"https://www.cve.org/CVERecord?id=CVE-2024-31990","licence":"CVE Terms of Use","modified":"2024-08-02T01:59:50.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2gvw-w6fj-7m3c","url":"https://github.com/advisories/GHSA-2gvw-w6fj-7m3c","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:26.158Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2728","url":"https://pkg.go.dev/vuln/GO-2024-2728","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:04.466Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31990","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31990","licence":"Public domain","modified":"2026-06-17T07:29:04.670Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-CD-2024-31990","url":"https://osv.dev/vulnerability/BIT-ARGO-CD-2024-31990","licence":"Apache-2.0","modified":"2026-09-08T08:45:45.596Z"}],"updatedAt":"2026-11-25T22:58:39.225Z","epss":{"score":0.00445,"percentile":0.40404,"date":"2026-12-02T12:00:21.000Z"}}