Live threats

All CVEs / Argoproj

CVE-2022-31105Argoproj Argo Cd

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Jul 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295, CWE-599
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 0.4.0 and prior to 2.2.11, 2.3.6, and 2.4.5 is vulnerable to an improper certificate validation bug which could cause Argo CD to trust a malicious (or otherwise untrustworthy) OpenID Connect (OIDC) provider. A patch for this vulnerability has been released in Argo CD versions 2.4.5, 2.3.6, and 2.2.11. There are no complete workarounds, but a partial workaround is available. Those who use an external OIDC provider (not the bundled Dex instance), can mitigate the issue by setting the `oidc.config.rootCA` field in the `argocd-cm` ConfigMap. This mitigation only forces certificate validation when the API server handles login flows. It does not force certificate verification when verifying tokens on API calls.

Original NVD text.

What to do

  1. Apply the vendor's security update for Argo Cd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/argoproj/argo-cd ≥ 0.4.0 < 2.2.11 2.2.11 go get github.com/argoproj/argo-cd@v2.2.11
Go github.com/argoproj/argo-cd ≥ 2.3.0 < 2.3.6 2.3.6 go get github.com/argoproj/argo-cd@v2.3.6
Go github.com/argoproj/argo-cd ≥ 2.4.0 < 2.4.5 2.4.5 go get github.com/argoproj/argo-cd@v2.4.5
Go github.com/argoproj/argo-cd ≥ 0.4.0 no fixed version —
Go github.com/argoproj/argo-cd/v2 < 2.2.11 2.2.11 go get github.com/argoproj/argo-cd/v2@v2.2.11
Go github.com/argoproj/argo-cd/v2 ≥ 2.3.0 < 2.3.6 2.3.6 go get github.com/argoproj/argo-cd/v2@v2.3.6
Go github.com/argoproj/argo-cd/v2 ≥ 2.4.0 < 2.4.5 2.4.5 go get github.com/argoproj/argo-cd/v2@v2.4.5

Per OSV / GitHub Advisories (GHSA-7943-82jg-wmw5, GO-2022-0518). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
argoprojargo_cd≥ 2.3.0 < 2.3.6
argoprojargo_cd≥ 2.4.0 < 2.4.5
linuxfoundationargo-cd≥ 0.4.0 < 2.2.11

Official sources

References

Links published by the sources. Open them with care.