{"cve":"CVE-2022-31105","nvd":{"published":"2022-07-12T22:15:08.167","modified":"2026-06-17T04:44:48.537","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-295","CWE-599"],"references":["https://github.com/argoproj/argo-cd/releases/tag/v2.3.6","https://github.com/argoproj/argo-cd/releases/tag/v2.4.5","https://github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5","https://github.com/argoproj/argo-cd/releases/tag/v2.3.6","https://github.com/argoproj/argo-cd/releases/tag/v2.4.5"],"products":["argoproj:argo_cd","linuxfoundation:argo-cd"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-31105","score":0.00808,"percentile":0.56864,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7943-82jg-wmw5","url":"https://osv.dev/vulnerability/GHSA-7943-82jg-wmw5","summary":"Argo CD certificate verification is skipped for connections to OIDC providers","modified":"2024-08-21T15:26:42.711238Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=0.4.0 <2.2.11"],"fixed":["2.2.11"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=2.3.0 <2.3.6"],"fixed":["2.3.6"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=2.4.0 <2.4.5"],"fixed":["2.4.5"]}]},{"id":"GO-2022-0518","url":"https://osv.dev/vulnerability/GO-2022-0518","summary":"Argo CD certificate verification is skipped for connections to OIDC providers in github.com/argoproj/argo-cd","modified":"2026-03-03T04:52:11.744485Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=0.4.0"],"fixed":[]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":["<2.2.11",">=2.3.0 <2.3.6",">=2.4.0 <2.4.5"],"fixed":["2.2.11","2.3.6","2.4.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}