CVE-2022-31105
Argo CD's certificate verification is skipped for connections to OIDC providers
Also known as GHSA-7943-82jg-wmw5, GO-2022-0518
Mitigation
- Upgrade github.com/argoproj/argo-cd to one of 2.2.11, 2.3.6, 2.4.5 (or later in the same release line).
- Upgrade github.com/argoproj/argo-cd/v2 to one of 2.2.11, 2.3.6, 2.4.5 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/argoproj/argo-cd (>= 0.4.0, < 2.2.11)
- Projects that depend on Go package github.com/argoproj/argo-cd/v2 (< 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5)
- Anyone running argoproj argo-cd >= 0.4.0, < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5
Vulnerability facts
- Affected
- github.com/argoproj/argo-cd >= 0.4.0, < 2.2.11; github.com/argoproj/argo-cd/v2 < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5
- Fixed in
- 2.2.11, 2.3.6, 2.4.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.78% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-295, CWE-599
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/argoproj/argo-cd | >= 0.4.0, < 2.2.11 | 2.2.11, 2.3.6, 2.4.5 | osv |
| Go github.com/argoproj/argo-cd/v2 | < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5 | 2.2.11, 2.3.6, 2.4.5 | osv |
| argoproj argo-cd | >= 0.4.0, < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-31105. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-31105.md Affected: github.com/argoproj/argo-cd >= 0.4.0, < 2.2.11; github.com/argoproj/argo-cd/v2 < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5 Fixed in: 2.2.11, 2.3.6, 2.4.5 Steps: 1. Search this machine and project for github.com/argoproj/argo-cd (Go), github.com/argoproj/argo-cd/v2 (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.
References
Vendor advisories
FAQ
Is CVE-2022-31105 being exploited?
There is no confirmed exploitation: CVE-2022-31105 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-31105?
High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-31105?
github.com/argoproj/argo-cd >= 0.4.0, < 2.2.11; github.com/argoproj/argo-cd/v2 < 2.2.11; >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5.
Is there a fix for CVE-2022-31105?
Yes. Fixed in 2.2.11, 2.3.6, 2.4.5. Upgrade github.com/argoproj/argo-cd to one of 2.2.11, 2.3.6, 2.4.5 (or later in the same release line). Upgrade github.com/argoproj/argo-cd/v2 to one of 2.2.11, 2.3.6, 2.4.5 (or later in the same release line).
How do I check if I'm affected by CVE-2022-31105?
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.