{"id":"CVE-2022-24768","aliases":["CVE-2022-24768","GHSA-2f5v-8r3f-8pww","GHSA-96jv-vj39-x4j6","GO-2022-0359","GO-2022-0516"],"related":["CVE-2022-1025"],"kind":"vulnerability","state":"published","title":"Improper access control allows admin privilege escalation in Argo CD","summary":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All unpatched versions of Argo CD starting with 1.0.0 are vulnerable to an improper access control bug, allowing a malicious user to potentially escalate their privileges to admin-level. Versions starting with 0.8.0 and 0.5.0 contain limited versions of this issue. To perform exploits, an authorized Argo CD user must have push access to an Application's source git or Helm repository or `sync` and `override` access to an Application. Once a user has that access, different exploitation levels are possible depending on their other RBAC privileges. A patch for this vulnerability has been released in Argo CD versions 2.3.2, 2.2.8, and 2.1.14. Some mitigation measures are available but do not serve as a substitute for upgrading. To avoid privilege escalation, limit who has push access to Application source repositories or `sync` + `override` access to Applications; and limit which repositories are available in projects where users have `update` access to Applications. To avoid unauthorized resource inspection/tampering, limit who has `delete`, `get`, or `action` access to Applications.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All unpatched versions of Argo CD starting with 1.0.0 are vulnerable to an improper access control bug, allowing a malicious user to potentially escalate their privileges to admin-level. Versions starting with 0.8.0 and 0.5.0 contain limited versions of this issue. To perform exploits, an authorized Argo CD user must have push access to an Application's source git or Helm repository or `sync` and `override` access to an Application. Once a user has that access, different exploitation levels are possible depending on their other RBAC privileges. A patch for this vulnerability has been released in Argo CD versions 2.3.2, 2.2.8, and 2.1.14. Some mitigation measures are available but do not serve as a substitute for upgrading. To avoid privilege escalation, limit who has push access to Application source repositories or `sync` + `override` access to Applications; and limit which repositories are available in projects where users have `update` access to Applications. To avoid unauthorized resource inspection/tampering, limit who has `delete`, `get`, or `action` access to Applications.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n#### Impacts for versions starting with v1.0.0\n\nAll unpatched versions of Argo CD starting with v1.0.0 are vulnerable to an improper access control bug, allowing a malicious user to potentially escalate their privileges to admin-level.\n\nTo perform the following exploits, an authorized Argo CD user must have push access to an Application's source git or Helm repository or `sync` _and_ `override` access to an Application. Once a user has that access, different exploitation levels are possible depending on their other RBAC privileges:\n\n1. If that user has `update` access to the Application, they can modify any resource on the Application's destination cluster. If the destination cluster is or can be made to be the same as the cluster hosting Argo CD, the user can escalate their Argo CD permissions to admin-level.\n2. If the user has `delete` access to the Application, they can delete any resource on the Application's destination cluster. (This exploit is possible starting with v0.8.0.)\n3. If the user has `get` access to the Application, they can view any resource on the Application's destination cluster (except for the contents of Secrets) and list [actions](https://argo-cd.readthedocs.io/en/stable/operator-manual/resource_actions/) available for that resource. \n4. If the user has `get` access to the Application, they can view the logs of any Pods on the Application's destination cluster.\n5. If the user has `action/{some action or *}` access on the Application, they can run an action for any resource (which supports the allowed action(s)) on the Application's destination cluster. (Some actions are available in Argo CD by default, and others may be configured by an Argo CD admin.)\n\nSee the [Argo CD RBAC documentation](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/#rbac-resources-and-actions) for an explanation of the privileges available in Argo CD.\n\n##### Events exploit\n\nA related exploit is possible for a user with `get` access to an Application **even if they do not have access to the Application's source git or Helm repository or `sync` and `override` access to the Application**. The user can access any Event in the Application's destination cluster if they know the involved object's name, UID, and namespace.\n\n#### Impacts for versions starting with v0.8.0\n\nThe same bug exists starting with v0.8.0, but only the following exploits were possible before v1.0.0:\n* The `delete` exploit (#&#x2060;2 above).\n* The logs exploit (#&#x2060;4 above).\n* The Events exploit described above.\n\n#### Impacts for versions starting with v0.5.0\n\nThe same bug exists starting with v0.5.0 (when RBAC was implemented), but only the Events exploit described above was possible before v0.8.0.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v2.3.2\n* v2.2.8\n* v2.1.14\n\n**Versions 2.0.x and earlier users:** See the [changelog](https://github.com/argoproj/argo-cd/blob/master/CHANGELOG.md) for links to upgrade instructions for your version. It is imperative to upgrade quickly, but some limited mitigations are described in the next section.\n\n**argo-helm chart users:** Argo CD users deploying v2.3.x with [argo-helm](https://github.com/argoproj/argo-helm) can upgrade the chart to version 4.2.2. Argo CD 2.2 and 2.1 users can set the `global.image.tag` value to the latest in your current release series (`v2.2.8`, or `v2.1.14`).  Since charts for the 2.2 and 2.1 series are no longer maintained, you will need to either leave the value override in place or upgrade to the 4.x chart series (and therefore to Argo CD 2.3).\n\n### Workarounds\n\nThe only certain way to avoid the vulnerability is to upgrade.\n\n#### Mitigations\n\n* To avoid privilege escalation:\n  * Limit who has push access to Application source repositories or `sync` + `override` access to Applications.\n  * Limit which repositories are available in [projects](https://argo-cd.readthedocs.io/en/stable/user-guide/projects/) where users have  `update` access to Applications.\n* To avoid unauthorized resource inspection/tampering:\n  * Limit who has `delete`, `get`, or `action` access to Applications.\n\nThese mitigations can help limit potential damage, but they are _not_ a substitute for upgrading. It is necessary to upgrade immediately.\n\n### References\n\n* [Argo CD RBAC configuration documentation](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/#)\n\n### For more information\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","format":"markdown","source":"ghsa"},{"lang":"en","text":"# Impact\n\n## Impacts for versions starting with v1.0.0\nAll unpatched versions of Argo CD starting with v1.0.0 are vulnerable to an improper access control bug, allowing a malicious user to potentially escalate their privileges to admin-level.\n\nTo perform the following exploits, an authorized Argo CD user must have push access to an Application's source git or Helm repository or `sync` and `override` access to an Application. Once a user has that access, different exploitation levels are possible depending on their other RBAC privileges:\n\n1. If that user has `update` access to the Application, they can modify any resource on the Application's destination cluster. If the destination cluster is or can be made to be the same as the cluster hosting Argo CD, the user can escalate their Argo CD permissions to admin-level.\n2. If the user has `delete` access to the Application, they can delete any resource on the Application's destination cluster. (This exploit is possible starting with v0.8.0.)\n3. If the user has `get` access to the Application, they can view any resource on the Application's destination cluster (except for the contents of Secrets) and list [actions](https://argo-cd.readthedocs.io/en/stable/operator-manual/resource_actions/) available for that resource.\n4. If the user has `get` access to the Application, they can view the logs of any Pods on the Application's destination cluster.\n5. If the user has `action/{some action or *}` access on the Application, they can run an action for any resource (which supports the allowed action(s)) on the Application's destination cluster. (Some actions are available in Argo CD by default, and others may be configured by an Argo CD admin.)\n\nSee the [Argo CD RBAC documentation](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/#rbac-resources-and-actions) for an explanation of the privileges available in Argo CD.\n\n## Events exploit\nA related exploit is possible for a user with `get` access to an Application **even if they do not have access to the Application's source git or Helm repository or `sync` and `override` access to the Application**. The user can access any Event in the Application's destination cluster if they know the involved object's name, UID, and namespace.\n\n## Impacts for versions starting with v0.8.0\nThe same bug exists starting with v0.8.0, but only the following exploits were possible before v1.0.0:\n\n- The `delete exploit` (#⁠2 above).\n- The logs exploit (#⁠4 above).\n- The Events exploit described above.\n\n## Impacts for versions starting with v0.5.0\nThe same bug exists starting with v0.5.0 (when RBAC was implemented), but only the Events exploit described above was possible before v0.8.0.\n\nPatches\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n- v2.3.2\n- v2.2.8\n- v2.1.14\n\n**Versions 2.0.x and earlier users**: See the changelog for links to upgrade instructions for your version. It is imperative to upgrade quickly, but some limited mitigations are described in the next section.\n\n**argo-helm chart users**: Argo CD users deploying v2.3.x with argo-helm can upgrade the chart to version 4.2.2. Argo CD 2.2 and 2.1 users can set the global.image.tag value to the latest in your current release series (v2.2.8, or v2.1.14). Since charts for the 2.2 and 2.1 series are no longer maintained, you will need to either leave the value override in place or upgrade to the 4.x chart series (and therefore to Argo CD 2.3).\n\n## Workarounds\nThe only certain way to avoid the vulnerability is to upgrade.\n\n## Mitigations\n\n- To avoid privilege escalation:\n    - Limit who has push access to Application source repositories or sync + override access to Applications.\n- Limit which repositories are available in projects where users have update access to Applications.\n    - To avoid unauthorized resource inspection/tampering:\n    - Limit who has delete, get, or action access to Applications.\n\nThese mitigations can help limit potential damage, but they are not a substitute for upgrading. It is necessary to upgrade immediately.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Improper access control allows admin privilege escalation in Argo CD in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"en","text":"Argo CD improper access control bug can allow malicious user to escalate privileges to admin level in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"es","text":"Argo CD es una herramienta de entrega continua GitOps para Kubernetes. Todas las versiones no parcheadas de Argo CD a partir de la 1.0.0, son vulnerables a un bug de control de acceso inapropiado, que permite a un usuario malicioso escalar potencialmente sus privilegios a nivel de administrador. Las versiones a partir de 0.8.0 y 0.5.0, contienen versiones limitadas de este problema. Para llevar a cabo las explotaciones, un usuario autorizado de Argo CD debe presentar acceso push al repositorio git o Helm de una aplicación o acceso \"sync\" y \"override\" a una aplicación. Una vez que un usuario presenta ese acceso, son posibles diferentes niveles de explotación dependiendo de sus otros privilegios RBAC. Ha sido publicado un parche para esta vulnerabilidad en versiones 2.3.2, 2.2.8 y 2.1.14 de Argo CD. Se presentan algunas medidas de mitigación, pero no sirven para sustituir la actualización. Para evitar una escalada de privilegios, limite quién presente acceso push a los repositorios de origen de las aplicaciones o el acceso \"sync\" + \"override\" a las aplicaciones; y limite qué repositorios están disponibles en los proyectos donde los usuarios presenten acceso \"update\" a las aplicaciones. Para evitar la inspección/manipulación no autorizada de los recursos, limite quién presente acceso a \"delete\", \"getr\" o \"action\" en las aplicaciones","source":"nvd"}],"published":"2022-03-23T21:20:11.000Z","modified":"2026-07-08T06:49:33.201Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-200","CWE-269","CWE-284","CWE-862","CWE-863","CWE-1220"],"affected":[{"ranges":[{"version":">= 0.5.0, < 2.1.14","status":"affected"},{"version":">= 2.2.0, < 2.2.8","status":"affected"},{"version":">= 2.3.0, < 2.3.2","status":"affected"}],"vendor":"argoproj","product":"argo-cd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.5.0","status":"affected","fixed":"2.1.14"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.8"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.5.0","status":"affected","lastAffected":"1.8.7"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.14"}],"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.2.0","status":"affected","fixed":"2.2.8"}],"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.3.0","status":"affected","fixed":"2.3.2"}],"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.5.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":"0","status":"affected","fixed":"2.1.14"},{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.8"},{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0.5.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":"0","status":"affected","fixed":"2.1.14"},{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.8"},{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"0.5.0","fixed":"2.1.14"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.8"},{"status":"affected","introduced":"2.3.0","fixed":"2.3.2"}],"vendor":"argoproj","product":"argo_cd","cpe":"cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-2f5v-8r3f-8pww","tags":["advisory","mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-cd/commit/af03b291d4b7e9d3ce9a6580ae9c8141af0e05cf","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.14","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.8","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.3.2","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24768","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-cd","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1025","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/errata/RHSA-2022:1039","tags":["web"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/errata/RHSA-2022:1040","tags":["web"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/errata/RHSA-2022:1041","tags":["web"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/errata/RHSA-2022:1042","tags":["web"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-1025","tags":["web"],"sources":["ghsa","go"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2064682","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-96jv-vj39-x4j6","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:54:58.614Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24768","url":"https://www.cve.org/CVERecord?id=CVE-2022-24768","licence":"CVE Terms of Use","modified":"2025-04-23T18:44:13.900Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2f5v-8r3f-8pww","url":"https://github.com/advisories/GHSA-2f5v-8r3f-8pww","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:33.201Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-96jv-vj39-x4j6","url":"https://github.com/advisories/GHSA-96jv-vj39-x4j6","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:33.201Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0359","url":"https://pkg.go.dev/vuln/GO-2022-0359","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:33.201Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0516","url":"https://pkg.go.dev/vuln/GO-2022-0516","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:33.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24768","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24768","licence":"Public domain","modified":"2026-06-17T04:32:28.563Z"}],"updatedAt":"2026-11-25T22:58:10.244Z","epss":{"score":0.0125,"percentile":0.70226,"date":"2026-12-01T12:00:22.000Z"}}