{"id":"CVE-2022-31036","published":"2022-06-27T19:15:16Z","modified":"2025-04-23T18:08:03Z","title":"Symlink following allows leaking out-of-bounds YAML files from Argo CD repo-server","vendor":"argoproj","product":"argo-cd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00893,"percentile":0.5736,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-q4w5-4gq2-98vm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/argoproj/argo-cd/commit/04c305396458508a31d03d44afea07b1c620d7cd","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":11.47},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"argoproj","affectedVersions":[{"vendor":"argoproj","product":"argo-cd","versions":[">= 1.3.0, < 2.1.16",">= 2.2.0, < 2.2.10",">= 2.3.0, < 2.3.5",">= 2.4.0, < 2.4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:04:43.912591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","vulnerableRanges":[">=1.3.0, <2.1.16",">=1.3.0"],"patched":["2.1.16"],"from":["GHSA-q4w5-4gq2-98vm","GO-2022-0499"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","vulnerableRanges":["<2.1.16",">=2.2.0, <2.2.10",">=2.3.0, <2.3.5",">=2.4.0, <2.4.1"],"patched":["2.1.16","2.2.10","2.3.5","2.4.1"],"from":["GHSA-q4w5-4gq2-98vm","GO-2022-0499"],"provenance":"source"}],"summary":{"text":"The Argo CD repo-server fails to properly handle symbolic links in repositories used by Helm-type Applications, so a symlink committed to such a repository can point outside the intended directory. An attacker with write access to a repository that is or may be used by a Helm-type Application, over the network and with low privileges and no user interaction, can commit a symlink to an out-of-bounds YAML file and read its contents, which may include other Applications' manifests or mounted secrets.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:32Z"},"euvd":{"id":"EUVD-2022-6122","exploited":false,"provenance":"source"}}