{"id":"CVE-2026-113708","summary":"Argo CD: A Kustomize remote ref can run commands in the repo-server","details":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 2.7.0 until 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2, Kustomize passes ref or version query values from remote resource, base, or component URLs to git fetch without an end-of-options separator. A leading-hyphen value can be parsed as --upload-pack and execute a command inside argocd-repo-server when the remote uses a local transport such as file://. Git does not run the supplied command for an https:// remote. The local transport does not leave the pod, so blocking repo-server egress does not prevent the execution. The command runs as the repo-server user, can read repository credentials and other process-accessible data, and can return output through manifest-generation errors. An attacker can commit a Kustomization to a Git repository that an Application builds or upload files through POST /api/v1/applications/manifestsWithFiles, also exposed by argocd app diff --local --server-side-generate. The upload path requires only Application get permission on an existing Application, without Application update or sync permission or repository write access. Kustomize 5.0.0 introduced acceptance of file://, whereas 4.5.7 rejects that transport; replacing the affected Kustomize with a newer version alone does not correct the missing option separator. This issue is fixed in versions 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2.","modified":"2026-10-21T10:30:52.559384614Z","published":"2026-10-20T18:03:17.219Z","related":["GHSA-9v9p-x54c-58gc","GHSA-j6cw-g6p4-7hch"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113708.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-88"]},"references":[{"type":"WEB","url":"https://argo-cd.readthedocs.io/en/stable/user-guide/kustomize/#custom-kustomize-versions"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113708.json"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/commit/25badeb7a1e154805340bb7237e0ce671f3772dd"},{"type":"FIX","url":"https://github.com/argoproj/argo-cd/pull/12299"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v3.3.15"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v3.4.10"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v3.5.4"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/releases/tag/v3.6.0-rc2"},{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-9v9p-x54c-58gc"},{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-j6cw-g6p4-7hch"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113708"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/argoproj/argo-cd","events":[{"introduced":"c592219140e5f48b6849f3f9a8f7aed6047d54fa"},{"fixed":"a7d718da2e77e6fe9e3d58cd788b5cdaa6b215fe"},{"introduced":"d91a2ab3bf1b1143fb273fa06f54073fc78f41f1"},{"fixed":"58c8bc04d3f14568d817cd9e3a525f313c295c01"},{"introduced":"ddea9e7128ecce09318352de8fd9b9ab88afaf47"},{"fixed":"d6d5b248ce00e1a2c512068002a93d3319767087"},{"introduced":"b7e3f52c2827c5c9e0dd41d71b292bbeb66010be"},{"fixed":"f922b44b5d17765910e31a583dfb253d75afebe6"},{"fixed":"25badeb7a1e154805340bb7237e0ce671f3772dd"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"2.7.0"},{"fixed":"3.3.15"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"3.4.0-rc1"},{"fixed":"3.4.10"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"strategy":"StringRangeExpression","range":[{"introduced":"3.5.0-rc1"},{"fixed":"3.5.4"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"3.6.0-rc1"},{"fixed":"3.6.0-rc2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"25badeb7a1e154805340bb7237e0ce671f3772dd"}]},{"original_tag":"v3.3.15","range":[{"fixed":"a7d718da2e77e6fe9e3d58cd788b5cdaa6b215fe"}],"source":"REFERENCES_TAG"},{"original_tag":"v3.4.10","range":[{"fixed":"58c8bc04d3f14568d817cd9e3a525f313c295c01"}],"source":"REFERENCES_TAG"},{"range":[{"fixed":"d6d5b248ce00e1a2c512068002a93d3319767087"}],"source":"REFERENCES_TAG","original_tag":"v3.5.4"},{"original_tag":"v3.6.0-rc2","range":[{"fixed":"f922b44b5d17765910e31a583dfb253d75afebe6"}],"source":"REFERENCES_TAG"}]}}],"versions":["v3.6.0-rc1","gitops-engine/v3.6.0-rc1","v3.5.3","v3.4.9","v3.5.2","v3.4.8","v3.4.7","v3.5.1","v3.4.6","v3.5.0","v3.5.0-rc3","v3.4.5","v3.5.0-rc2","v3.4.4","v3.5.0-rc1","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.4.0-rc7","v3.4.0-rc6","v3.4.0-rc5","v3.4.0-rc4","v3.4.0-rc3","v3.4.0-rc2","v3.4.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-113708.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}