{"cve":"CVE-2022-31036","nvd":{"published":"2022-06-27T20:15:08.400","modified":"2026-06-17T04:44:39.513","status":"Modified","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v1.3.0 are vulnerable to a symlink following bug allowing a malicious user with repository write access to leak sensitive YAML files from Argo CD's repo-server. A malicious Argo CD user with write access for a repository which is (or may be) used in a Helm-type Application may commit a symlink which points to an out-of-bounds file. If the target file is a valid YAML file, the attacker can read the contents of that file. Sensitive files which could be leaked include manifest files from other Applications' source repositories (potentially decrypted files, if you are using a decryption plugin) or any YAML-formatted secrets which have been mounted as files on the repo-server. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. If you are using a version >=v2.3.0 and do not have any Helm-type Applications you may disable the Helm config management tool as a workaround.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-59","CWE-20","CWE-61"],"references":["https://github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cd","https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vm","https://github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cd","https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vm"],"products":["argoproj:argo_cd"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31036","score":0.00891,"percentile":0.59408,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q4w5-4gq2-98vm","url":"https://osv.dev/vulnerability/GHSA-q4w5-4gq2-98vm","summary":"Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server","modified":"2024-08-21T15:41:44.599125Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=1.3.0 <2.1.16"],"fixed":["2.1.16"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":["<2.1.16"],"fixed":["2.1.16"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.2.0 <2.2.10"],"fixed":["2.2.10"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.3.0 <2.3.5"],"fixed":["2.3.5"]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[">=2.4.0 <2.4.1"],"fixed":["2.4.1"]}]},{"id":"GO-2022-0499","url":"https://osv.dev/vulnerability/GO-2022-0499","summary":"Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server in github.com/argoproj/argo-cd","modified":"2026-03-03T04:52:11.665376Z","packages":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[">=1.3.0"],"fixed":[]},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":["<2.1.16",">=2.2.0 <2.2.10",">=2.3.0 <2.3.5",">=2.4.0 <2.4.1"],"fixed":["2.1.16","2.2.10","2.3.5","2.4.1"]}]}],"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."]}