Vulnerability record · CVE-2022-31105 · published 12 July 2022
CVE-2022-31105: Argoproj argo cd improper certificate validation vulnerability
Argoproj · Argo Cd
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/argoproj/argo-cd/releases/tag/v2.3.6 | Release NotesThird Party Advisory |
| https://github.com/argoproj/argo-cd/releases/tag/v2.4.5 | Release NotesThird Party Advisory |
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5 | Third Party Advisory |
| https://github.com/argoproj/argo-cd/releases/tag/v2.3.6 | Release NotesThird Party Advisory |
| https://github.com/argoproj/argo-cd/releases/tag/v2.4.5 | Release NotesThird Party Advisory |
| https://github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5 | Third Party Advisory |
Track CVE-2022-31105 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-31105), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.