cve.bz

CVE-2022-29165 argoproj argo cd: Authentication Bypass by Spoofing

10.0 criticalEPSS 2.1%Fix available

Critical (10.0) in argoproj argo cd. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/argoproj/argo-cd/v2 2.1.15, 2.2.9, 2.3.4.

On this page
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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-290 Authentication Bypass by Spoofing
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-287 Improper Authentication
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/argoproj/argo-cd/v2 (Go): fixed in 2.3.4, 2.2.9, 2.1.15
  • github.com/argoproj/argo-cd (Go): fixed in 2.1.15

Ask an AI about this CVE

Show the promptExplain CVE-2022-29165 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29165?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29165?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29165 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
argoproj:argo_cdfrom 1.4.0 before 2.1.15
argoproj:argo_cdfrom 2.2.0 before 2.2.9
argoproj:argo_cdfrom 2.3.0 before 2.3.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r642-gv9p-2wjjGogithub.com/argoproj/argo-cd/v2>=2.3.0 <2.3.42.3.4
GHSA-r642-gv9p-2wjjGogithub.com/argoproj/argo-cd/v2>=2.2.0 <2.2.92.2.9
GHSA-r642-gv9p-2wjjGogithub.com/argoproj/argo-cd/v2<2.1.152.1.15
GHSA-r642-gv9p-2wjjGogithub.com/argoproj/argo-cd<2.1.152.1.15
GO-2022-0455Gogithub.com/argoproj/argo-cdall versionsno fix published
GO-2022-0455Gogithub.com/argoproj/argo-cd/v2<2.1.15
>=2.2.0 <2.2.9
>=2.3.0 <2.3.4
2.1.15, 2.2.9, 2.3.4

Red Hat

Red Hat rates this Important.

Red Hat's statement

The anonymous mode is by default disabled in the ArgoCD instance installed by the Red Hat GitOps operator.

ProductPackageStateAdvisory
Red Hat OpenShift GitOps 1.3openshift-gitops-1/applicationset-rhel8:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/argocd-rhel8:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/dex-rhel8:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-operator-bundle:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-rhel8:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-rhel8-operator:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/kam-delivery-rhel8:v1.3.10-1Fixed 2022-05-18RHSA-2022:4671
Red Hat OpenShift GitOps 1.3openshift-gitops-1/applicationset-rhel8:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/argocd-rhel8:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/dex-rhel8:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-operator-bundle:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-rhel8:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/gitops-rhel8-operator:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.3openshift-gitops-1/kam-delivery-rhel8:v1.3.9-3Fixed 2022-05-18RHSA-2022:4691
Red Hat OpenShift GitOps 1.4openshift-gitops-1/applicationset-rhel8:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
Red Hat OpenShift GitOps 1.4openshift-gitops-1/argocd-rhel8:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
Red Hat OpenShift GitOps 1.4openshift-gitops-1/dex-rhel8:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
Red Hat OpenShift GitOps 1.4openshift-gitops-1/gitops-operator-bundle:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
Red Hat OpenShift GitOps 1.4openshift-gitops-1/gitops-rhel8:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
Red Hat OpenShift GitOps 1.4openshift-gitops-1/gitops-rhel8-operator:v1.4.7-2Fixed 2022-05-18RHSA-2022:4692
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-29165.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High
  • CAPEC-473 Signature Spoof
  • CAPEC-476 Signature Spoofing by Misrepresentation Likelihood: Low · Severity: High
  • CAPEC-667 Bluetooth Impersonation AttackS (BIAS) Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287, CWE-200 (59).

References

Check your stackJSON