Skip to main content

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

CVE-2026-113708

Severity High
Score 9.9/10

Summary

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 2.7.0 prior to 3.3.15, 3.4.x prior to 3.4.10, 3.5.x prior to 3.5.4, and 3.6.x prior to 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.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-88 - Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

The software constructs a string for a command to executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

References

Advisory Timeline

  • Published