{"id":"CVE-2022-24348","aliases":["CVE-2022-24348","GHSA-63qx-x74g-jcr7","GO-2022-0304"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal and dereference of symlinks in Argo CD","summary":"Argo CD before 2.1.9 and 2.2.x before 2.2.4 allows directory traversal related to Helm charts because of an error in helmTemplate in repository.go. For example, an attacker may be able to discover credentials stored in a YAML file.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo CD before 2.1.9 and 2.2.x before 2.2.4 allows directory traversal related to Helm charts because of an error in helmTemplate in repository.go. For example, an attacker may be able to discover credentials stored in a YAML file.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAll versions of Argo CD are vulnerable to a path traversal bug that allows to pass arbitrary values files to be consumed by Helm charts. \n\nAdditionally, it is possible to craft special Helm chart packages containing value files that are actually symbolic links, pointing to arbitrary files outside the repository's root directory.\n\nIf an attacker with permissions to create or update Applications knows or can guess the full path to a file containing valid YAML, they can create a malicious Helm chart to consume that YAML as values files, thereby gaining access to data they would otherwise have no access to. \n\nThe impact can especially become critical in environments that make use of encrypted value files (e.g. using plugins with git-crypt or SOPS) containing sensitive or confidential data, and decrypt these secrets to disk before rendering the Helm chart.\n\nAlso, because any error message from `helm template` is passed back to the user, and these error messages are quite verbose, enumeration of files on the repository server's file system is possible.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v2.3.0\n* v2.2.4\n* v2.1.9\n\nWe urge users of Argo CD to update their installation to one of the fixed versions as listed above.\n\n### Workarounds\n\nNo workaround for this issue.\n\n### References\n\n* https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24348\n\n### For more information\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel `#argo-cd`\n\n### Credits\n\nThe path traversal vulnerability was discovered and reported by Moshe Zioni, VP Security Research, [Apiiro](https://www.apiiro.com). \n\nDuring the development of a fix for the path traversal vulnerability, the Argo CD team discovered the related issue with symbolic links.\n\nThe Argo CD team would like to thank Moshe Zioni for the responsible disclosure, and the constructive discussions during handling this issue!","format":"markdown","source":"ghsa"},{"lang":"en","text":"Path traversal and dereference of symlinks in Argo CD in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"es","text":"Argo CD versiones anteriores a 2.1.9 y versiones 2.2.x anteriores a 2.2.4, permite un salto de directorios relacionado con los gráficos de Helm debido a un error en helmTemplate en el archivo repository.go. Por ejemplo, un atacante puede ser capaz de detectar las credenciales almacenadas en un archivo YAML","source":"nvd"}],"published":"2022-02-04T20:26:21.000Z","modified":"2026-07-08T06:30:00.565Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-200"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.9"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.4"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.9"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.9"},{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.4"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.1.9"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.4"}],"vendor":"argoproj","product":"argo_cd","cpe":"cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-cd/commit/78c2084f0febd159039ff785ddc2bd4ba1cecf88","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-cd","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.9","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.4","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24348","url":"https://www.cve.org/CVERecord?id=CVE-2022-24348","licence":"CVE Terms of Use","modified":"2024-08-03T04:07:02.386Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-63qx-x74g-jcr7","url":"https://github.com/advisories/GHSA-63qx-x74g-jcr7","licence":"CC-BY-4.0","modified":"2026-07-08T06:30:00.565Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0304","url":"https://pkg.go.dev/vuln/GO-2022-0304","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:08.196Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24348","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348","licence":"Public domain","modified":"2026-06-17T04:31:40.307Z"}],"updatedAt":"2026-11-25T22:58:09.496Z","epss":{"score":0.02976,"percentile":0.87646,"date":"2026-12-02T12:00:21.000Z"}}