{"cve":"CVE-2022-24731","nvd":{"published":"2022-03-23T21:15:08.083","modified":"2026-06-17T04:32:23.490","status":"Modified","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.5.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal vulnerability, allowing a malicious user with read/write access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `create` or `update` access to Applications can leak the contents of any text file on the repo-server. By crafting a malicious Helm chart and using it in an Application, the attacker can retrieve the sensitive file's contents either as part of the generated manifests or in an error message. The attacker would have to know or guess the location of the target file. Sensitive files which could be leaked include files from another Application's source repositories or any secrets which have been mounted as files on the repo-server. This vulnerability is patched in Argo CD versions 2.1.11, 2.2.6, and 2.3.0. The problem can be mitigated by avoiding storing secrets in git, avoiding mounting secrets as files on the repo-server, avoiding decrypting secrets into files on the repo-server, and carefully limiting who can `create` or `update` Applications.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9},"cwes":["CWE-22","CWE-209","CWE-284"],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-h6h5-6fmq-rh28","https://github.com/argoproj/argo-cd/security/advisories/GHSA-h6h5-6fmq-rh28"],"products":["argoproj:argo_cd"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-24731","score":0.0096,"percentile":0.61556,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h6h5-6fmq-rh28","url":"https://osv.dev/vulnerability/GHSA-h6h5-6fmq-rh28","summary":"Path traversal allows leaking out-of-bound files from Argo CD repo-server","modified":"2024-08-21T14:56:57.560983Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=1.5.0 <2.1.11"],"fixed":["2.1.11"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=2.2.0 <2.2.6"],"fixed":["2.2.6"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=2.3.0-rc1 <2.3.0"],"fixed":["2.3.0"]}]},{"id":"GO-2022-0358","url":"https://osv.dev/vulnerability/GO-2022-0358","summary":"Path traversal allows leaking out-of-bound files from Argo CD repo-server in github.com/argoproj/argo-cd","modified":"2026-03-03T04:50:08.174182Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=1.5.0"],"fixed":[]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":["<2.1.11",">=2.2.0 <2.2.6",">=2.3.0-rc1 <2.3.0"],"fixed":["2.1.11","2.2.6","2.3.0"]}]}],"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."]}