Argo CD will blindly trust JWT claims if anonymous access is enabled
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200 and CWE-287.
Summary
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. A critical vulnerability has been discovered in Argo CD starting with version 1.4.0 and prior to versions 2.1.15, 2.2.9, and 2.3.4 which would allow unauthenticated users to impersonate as any Argo CD user or role, including the `admin` user, by sending a specifically crafted JSON Web Token (JWT) along with the request. In order for this vulnerability to be exploited, anonymous access to the Argo CD instance must have been enabled. In a default Argo CD installation, anonymous access is disabled. The vulnerability can be exploited to impersonate as any user or role, including the built-in `admin` account regardless of whether it is enabled or disabled. Also, the attacker does not need an account on the Argo CD instance in order to exploit this. If anonymous access to the instance is enabled, an attacker can escalate their privileges, effectively allowing them to gain the same privileges on the cluster as the Argo CD instance, which is cluster admin in a default installation. This will allow the attacker to create, manipulate and delete any resource on the cluster. They may also exfiltrate data by deploying malicious workloads with elevated privileges, thus bypassing any redaction of sensitive data otherwise enforced by the Argo CD API. A patch for this vulnerability has been released in Argo CD versions 2.3.4, 2.2.9, and 2.1.15. As a workaround, one may disable anonymous access, but upgrading to a patched version is preferable.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| argoproj | argo-cd | 1.4.0 to before 2.1.15; 2.2.0 to before 2.2.9; 2.3.0 to before 2.3.4 | 2.1.15, 2.2.9, 2.3.4 | Patch available | CNA |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.3.0 to before 2.3.4 | 2.3.4 | Patch available | GHSA-r642-gv9p-2wjj |
| — | github.com/argoproj/argo-cd/v2 (Go) | 2.2.0 to before 2.2.9 | 2.2.9 | Patch available | GHSA-r642-gv9p-2wjj |
| — | github.com/argoproj/argo-cd/v2 (Go) | before 2.1.15 | 2.1.15 | Patch available | GHSA-r642-gv9p-2wjj |
| — | github.com/argoproj/argo-cd (Go) | before 2.1.15 | 2.1.15 | Patch available | GHSA-r642-gv9p-2wjj |
- argo-cd Vendorargoproj Affected 1.4.0 to before 2.1.15; 2.2.0 to before 2.2.9; 2.3.0 to before 2.3.4 Fixed in 2.1.15, 2.2.9, 2.3.4 Patch available CNA
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.3.0 to before 2.3.4 Fixed in 2.3.4 Patch available GHSA-r642-gv9p-2wjj
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected 2.2.0 to before 2.2.9 Fixed in 2.2.9 Patch available GHSA-r642-gv9p-2wjj
- github.com/argoproj/argo-cd/v2 (Go) Vendor— Affected before 2.1.15 Fixed in 2.1.15 Patch available GHSA-r642-gv9p-2wjj
- github.com/argoproj/argo-cd (Go) Vendor— Affected before 2.1.15 Fixed in 2.1.15 Patch available GHSA-r642-gv9p-2wjj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* | 1.4.0 to before 2.1.15; 2.2.0 to before 2.2.9; 2.3.0 to before 2.3.4 | Vulnerable | argoproj |
- cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:* Versions 1.4.0 to before 2.1.15; 2.2.0 to before 2.2.9; 2.3.0 to before 2.3.4 Vulnerable ·argoproj
Remediation
- Fix · CNA argo-cd (argoproj) Fixed in 2.1.15, 2.2.9, 2.3.4
- Fix · GHSA-r642-gv9p-2wjj github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.3.4 Advisory →
- Fix · GHSA-r642-gv9p-2wjj github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.2.9 Advisory →
- Fix · GHSA-r642-gv9p-2wjj github.com/argoproj/argo-cd/v2 (Go) Fixed in 2.1.15 Advisory →
- Fix · GHSA-r642-gv9p-2wjj github.com/argoproj/argo-cd (Go) Fixed in 2.1.15 Advisory →
Red Hat 4 advisories
- RHSA-2022:4692 Released 2022-05-18 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.4 openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/dex-rhel8 +4
- RHSA-2022:4691 Released 2022-05-18 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/dex-rhel8 +4
- RHSA-2022:4690 Released 2022-05-18 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.5 openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/dex-rhel8 +4
Show 1 more Red Hat advisories
- RHSA-2022:4671 Released 2022-05-18 · Red Hat rating ImportantRed Hat OpenShift GitOps security update
- Red Hat OpenShift GitOps 1.3 openshift-gitops-1/applicationset-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/dex-rhel8 +4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift GitOps 1.3 | Fixed | RHSA-2022:4671, RHSA-2022:4691 |
| Red Hat OpenShift GitOps 1.4 | Fixed | RHSA-2022:4692 |
| Red Hat OpenShift GitOps 1.5 | Fixed | RHSA-2022:4690 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-29165
- 2026-10-03 Alias added: GHSA-r642-gv9p-2wjj
References
More argoproj Argo Cd vulnerabilities
- TI-2024-14377 Argo CD vulnerable to Bypassing of Brute Force Protection via Application Crash and In-Memory Data Loss CVSS 3.1CRITICAL 9.8
- TI-2024-14383 Argo CD vulnerable to Bypassing of Rate Limit and Brute Force Protection Using Cache Overflow CVSS 3.1CRITICAL 9.1
- TI-2026-31086 ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction CVSS 3.1CRITICAL 9.6
- TI-2023-20919 Cluster secret might leak in cluster details page in Argo CD CVSS 3.1CRITICAL 9.9
- TI-2024-21088 ArgoCD Vulnerable to Use of Risky or Missing Cryptographic Algorithms in Redis Cache CVSS 3.1CRITICAL 9.1
- TI-2026-33475 Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation CVSS 3.1HIGH 8.7
Sources
- CVE-2022-29165 · CVE Program
- CVE-2022-29165 · NVD
- FIRST EPSS
- GHSA-r642-gv9p-2wjj · GitHub Advisory Database · CC BY 4.0
- CVE-2022-29165 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences