{"id":"CVE-2022-24348","aliases":["GHSA-63qx-x74g-jcr7","GO-2022-0304"],"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.","published_at":"2022-02-04T14:07:00Z","modified_at":"2026-07-08T06:30:00.5659Z","products":[{"slug":"argo-cd","name":"Argo CD","category":"gitops-cicd"}],"rating":{"severity":"high","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.02768000029027462,"percentile":0.8661999702453613,"date":"2026-11-19T00:00:00Z"},"priority":8.7,"details":"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.","affected_stack":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"}]}],"fixed":["2.1.9"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2022-0304","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"}]}],"fixed":["2.1.9"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.2.4"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"},{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.1.9","2.2.4"],"provider":"osv","source":"GO-2022-0304","relation":"self"},{"ecosystem":"NVD","package":"argoproj:argo_cd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.1.9","2.2.4"],"provider":"nvd","source":"CVE-2022-24348","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.2","cpe":"cpe:/a:redhat:openshift_gitops:1.2::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":6,"fixed":[],"advisories":["RHSA-2022:0580"],"provider":"redhat-vex","source":"CVE-2022-24348"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.3","cpe":"cpe:/a:redhat:openshift_gitops:1.3::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":7,"fixed":[],"advisories":["RHSA-2022:0476","RHSA-2022:0682"],"provider":"redhat-vex","source":"CVE-2022-24348"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.4","cpe":"cpe:/a:redhat:openshift_gitops:1.4::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":7,"fixed":[],"advisories":["RHSA-2022:0477"],"provider":"redhat-vex","source":"CVE-2022-24348"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2022-24348","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-24348","license":"CC-BY-4.0","published_at":"2022-02-04T20:26:21Z","modified_at":"2024-08-03T04:07:02.386Z","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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments/"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7"}]},{"provider":"nvd","source_id":"CVE-2022-24348","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348","severity":[],"affected":[{"ecosystem":"NVD","package":"argoproj:argo_cd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.1.9","2.2.4"],"provider":"nvd","source":"CVE-2022-24348","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-63qx-x74g-jcr7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-63qx-x74g-jcr7","license":"CC-BY-4.0","published_at":"2022-02-07T19:06:18Z","modified_at":"2026-07-08T06:30:00.5659Z","summary":"Path traversal and dereference of symlinks in Argo CD","details":"### 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!","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"GHSA-63qx-x74g-jcr7"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"}]}],"fixed":["2.1.9"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"}]}],"fixed":["2.1.9"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.2.4"],"provider":"osv","source":"GHSA-63qx-x74g-jcr7","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/78c2084f0febd159039ff785ddc2bd4ba1cecf88"},{"type":"WEB","url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-cd"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.9"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.4"}]},{"provider":"osv","source_id":"GO-2022-0304","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0304","license":"CC-BY-4.0","published_at":"2024-08-21T14:30:26Z","modified_at":"2026-03-03T04:52:08.196042Z","summary":"Path traversal and dereference of symlinks in Argo CD in github.com/argoproj/argo-cd","details":"Path traversal and dereference of symlinks in Argo CD in github.com/argoproj/argo-cd","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2022-0304","relation":"self"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.9"},{"introduced":"2.2.0"},{"fixed":"2.2.4"}]}],"fixed":["2.1.9","2.2.4"],"provider":"osv","source":"GO-2022-0304","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/78c2084f0febd159039ff785ddc2bd4ba1cecf88"},{"type":"WEB","url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.9"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.4"}]},{"provider":"redhat-vex","source_id":"CVE-2022-24348","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-24348","license":"CC-BY-4.0","published_at":"2022-02-04T14:07:00Z","modified_at":"2022-02-25T20:32:48Z","summary":"gitops: Path traversal and dereference of symlinks when passing Helm value files","details":"A flaw was found in GitOps. This flaw allows an attacker with permissions to create or update applications in ArgoCD to craft a malicious helm chart that contains symbolic links pointing to arbitrary paths outside the repository root folder, leading to a path traversal issue. This issue enables the attacker to gain access to confidential information stored in other repositories within the same ArgoCD installation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"CVE-2022-24348"},{"type":"Red Hat","score":"Important","source":"CVE-2022-24348"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.2","cpe":"cpe:/a:redhat:openshift_gitops:1.2::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":6,"fixed":[],"advisories":["RHSA-2022:0580"],"provider":"redhat-vex","source":"CVE-2022-24348"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.3","cpe":"cpe:/a:redhat:openshift_gitops:1.3::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":7,"fixed":[],"advisories":["RHSA-2022:0476","RHSA-2022:0682"],"provider":"redhat-vex","source":"CVE-2022-24348"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps 1.4","cpe":"cpe:/a:redhat:openshift_gitops:1.4::el8","status":"fixed","packages":["openshift-gitops-1/applicationset-rhel8","openshift-gitops-1/argocd-rhel8","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/gitops-rhel8-operator","openshift-gitops-1/kam-delivery-rhel8"],"package_count":7,"fixed":[],"advisories":["RHSA-2022:0477"],"provider":"redhat-vex","source":"CVE-2022-24348"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-24348.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-24348"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050826"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-24348"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7"}]}],"references":[{"type":"WEB","url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments/"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/78c2084f0febd159039ff785ddc2bd4ba1cecf88"},{"type":"WEB","url":"https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-cd"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.1.9"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v2.2.4"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-24348.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-24348"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050826"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-24348"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2022-24348","url":"https://www.cve.org/CVERecord?id=CVE-2022-24348","license":"CC-BY-4.0","modified_at":"2024-08-03T04:07:02.386Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-24348","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24348","relation":"self"},{"provider":"osv","source_id":"GHSA-63qx-x74g-jcr7","url":"https://osv.dev/vulnerability/GHSA-63qx-x74g-jcr7","license":"CC-BY-4.0","modified_at":"2026-07-08T06:30:00.5659Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0304","url":"https://osv.dev/vulnerability/GO-2022-0304","license":"CC-BY-4.0","modified_at":"2026-03-03T04:52:08.196042Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-24348","url":"https://access.redhat.com/security/cve/CVE-2022-24348","license":"CC-BY-4.0","modified_at":"2022-02-25T20:32:48Z","relation":"self"}]}
