CVE-2022-31105: Argo CD's certificate verification is skipped for connections to OIDC providers
Vulnerability summary
CVE-2022-31105 is a critical (CVSS 9.6) Improper Certificate Validation vulnerability in argoproj argo_cd. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 59.1% of scored vulnerabilities.
Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-07-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA8.3HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.81% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-295Improper Certificate ValidationThe product does not validate, or incorrectly validates, a certificate.
- CWE-599Missing Validation of OpenSSL CertificateThe product uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Argoproj2 products
Github.com/argoproj1 product
- argo-cd≥ 0.4.0, < 2.2.11 | ≥ 2.3.0, < 2.3.6 | ≥ 2.4.0, < 2.4.5 | ≥ 0.4.0 (No fix recorded)
Github.com/argoproj/argo-cd1 product
- v2≥ 2.4.0, < 2.4.5
Linuxfoundation1 product
- argo-cd≥ 0.4.0, < 2.2.11
4 vendors · 5 products
References
5 links- github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/argoproj/argo-cdPACKAGE