# CVE-2022-29165: Argo CD will blindly trust JWT claims if anonymous access is enabled

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.14% (percentile 83, 2026-11-26)
- **CWE:** CWE-200, CWE-287, CWE-290
- **Aliases:** GHSA-r642-gv9p-2wjj, GO-2022-0455
- **Published:** 2022-05-20T14:15:11.000Z
- **Modified:** 2026-06-17T04:39:43.437Z

## 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

## 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

- Go `github.com/argoproj/argo-cd/v2`: affected \>= 2.3.0, \< 2.3.4; fixed 2.3.4, 2.2.9, 2.1.15 (osv)
- Go `github.com/argoproj/argo-cd`: affected \< 2.1.15; fixed 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/argoproj/argo-cd/security/advisories/GHSA-r642-gv9p-2wjj>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-29165>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.1.15>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.2.9>
- other: <https://github.com/argoproj/argo-cd/releases/tag/v2.3.4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-29165>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r642-gv9p-2wjj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0455> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-29165> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-29165>
