CVE-2022-29165
Argo CD will blindly trust JWT claims if anonymous access is enabled
Also known as GHSA-r642-gv9p-2wjj, GO-2022-0455
Mitigation
- Upgrade github.com/argoproj/argo-cd/v2 to one of 2.3.4, 2.2.9, 2.1.15 (or later in the same release line).
- Upgrade github.com/argoproj/argo-cd to 2.1.15 or later.
Who should check
- Projects that depend on Go package github.com/argoproj/argo-cd/v2 (>= 2.3.0, < 2.3.4)
- Projects that depend on Go package github.com/argoproj/argo-cd (< 2.1.15)
- Anyone running argoproj argo-cd >= 1.4.0, < 2.1.15; >= 2.2.0, < 2.2.9; >= 2.3.0, < 2.3.4
Vulnerability facts
- Affected
- github.com/argoproj/argo-cd/v2 >= 2.3.0, < 2.3.4; github.com/argoproj/argo-cd < 2.1.15
- Fixed in
- 2.3.4, 2.2.9, 2.1.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 2.14% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-200, CWE-287, CWE-290
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/argoproj/argo-cd/v2 | >= 2.3.0, < 2.3.4 | 2.3.4, 2.2.9, 2.1.15 | osv |
| Go github.com/argoproj/argo-cd | < 2.1.15 | 2.1.15 | osv |
| argoproj argo-cd | >= 1.4.0, < 2.1.15; >= 2.2.0, < 2.2.9; >= 2.3.0, < 2.3.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-29165. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-29165.md Affected: github.com/argoproj/argo-cd/v2 >= 2.3.0, < 2.3.4; github.com/argoproj/argo-cd < 2.1.15 Fixed in: 2.3.4, 2.2.9, 2.1.15 Steps: 1. Search this machine and project for github.com/argoproj/argo-cd/v2 (Go), github.com/argoproj/argo-cd (Go), argoproj argo-cd: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-29165 being exploited?
There is no confirmed exploitation: CVE-2022-29165 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-29165?
Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-29165?
github.com/argoproj/argo-cd/v2 >= 2.3.0, < 2.3.4; github.com/argoproj/argo-cd < 2.1.15.
Is there a fix for CVE-2022-29165?
Yes. Fixed in 2.3.4, 2.2.9, 2.1.15. Upgrade github.com/argoproj/argo-cd/v2 to one of 2.3.4, 2.2.9, 2.1.15 (or later in the same release line). Upgrade github.com/argoproj/argo-cd to 2.1.15 or later.
How do I check if I'm affected by CVE-2022-29165?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.