All vulnerabilities
CVE-2026-55797BIT-argo-cd-2026-55797GHSA-j6cw-g6p4-7hchGO-2026-6701

github.com/argoproj/argo-cd/v2: Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL

argoproj github.com/argoproj/argo-cd/v2goLibraries & packages
CVSS
8.8High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)1.55%Chance of exploitation activity in the next 30 days, higher than 74% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.3.15Also 3.4.10, 3.5.4 and 1 moreGitHub
Published9 Oct 2026Updated 21 Oct 2026CVE List

What fixes it

  • 3.3.15github.com/argoproj/argo-cd/v3, goGitHubgo get github.com/argoproj/argo-cd/v3@v3.3.15
  • 3.4.10github.com/argoproj/argo-cd/v3, goGitHubgo get github.com/argoproj/argo-cd/v3@v3.4.10
  • 3.5.4github.com/argoproj/argo-cd/v3, goGitHubgo get github.com/argoproj/argo-cd/v3@v3.5.4
  • 3.6.0-rc2github.com/argoproj/argo-cd/v3, goGitHubgo get github.com/argoproj/argo-cd/v3@v3.6.0-rc2
  • 3.3.15github.com/argoproj/argo-cd/v3, GoOSVgo get github.com/argoproj/argo-cd/v3@v3.3.15
  • 3.4.10github.com/argoproj/argo-cd/v3, GoOSVgo get github.com/argoproj/argo-cd/v3@v3.4.10
Show all 8 fixed versions
  • 3.5.4github.com/argoproj/argo-cd/v3, GoOSVgo get github.com/argoproj/argo-cd/v3@v3.5.4
  • 3.6.0-rc2github.com/argoproj/argo-cd/v3, GoOSVgo get github.com/argoproj/argo-cd/v3@v3.6.0-rc2

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Impact

Argo CD runs a shell command in the repo-server when it clones or fetches an SSH Git repository that has a proxy URL. The proxy host and port are copied into an SSH ProxyCommand. A host that contains shell metacharacters breaks out of that command and runs in the repo-server.

All versions from v2.11.0 onward are affected, including every currently supported release. v2.10.20 and earlier are not. The behavior was introduced in 9b27aeb1a4 (2024-01-09, #15864), the change that added SOCKS5 proxy support for SSH Git URLs, and was first released in v2.11.0.

The repository must use SSH. http, https, and socks5 proxy URLs all take this path when they are set on an SSH repository. An HTTPS Git repository uses the proxy as an HTTP proxy and does not build this command.

Anyone who can create or update a repository or a repository credential template can set the proxy. That includes a project-scoped repository permission, argocd repo add --proxy, and a repository Secret. A credential template applies its proxy to every matching SSH repository that does not have its own credentials. Argo CD runs the command when it tests the repository connection and on later fetches. The process can read other Git, Helm, and OCI credentials stored for the repo-server.

Patches

A patch for this vulnerability has been released in the following Argo CD versions:

  • v3.6.0-rc2
  • v3.5.4
  • v3.4.10
  • v3.3.15

The fix stops passing the proxy host and port through a shell.

Argo CD 2.x and 3.0 through 3.2 are out of support and will not receive a patch. Upgrade to a patched 3.3 or newer release.

Workarounds

There is no setting that keeps SSH repository proxies and removes the shell command.

  • Do not grant repository create or update to untrusted users, including project-scoped repository access. See RBAC resources and project-scoped repositories.
  • Do not set a proxy on an SSH repository or on a credential template that matches SSH repositories. The proxy field is documented in Configure repositories with proxy. Credential templates are documented in Credential templates. The --proxy flag is documented in [argocd repo add](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_repo_add/).

An HTTPS Git repository with an HTTP proxy does not use this command. Review existing repository and credential-template Secrets for unexpected proxy values.

Credits

The Argo CD team would like to thank @kamil-sawicki, @yuvalelarat, @cherez0ff, @McCaulay, @gehan-psbc, @ria-labs-security, @parameter-ai-security, and @zwindler for responsibly disclosing this issue according to our security reporting guidelines.

References

For more information

Text from GitHub Advisory Database

Affected versions 16

  • github.com/argoproj/argo-cd/v2, go>= 2.11.0, <= 2.14.21GitHub
  • github.com/argoproj/argo-cd/v3, go>= 3.0.0, < 3.3.15GitHub
  • github.com/argoproj/argo-cd/v3, go>= 3.4.0, < 3.4.10GitHub
  • github.com/argoproj/argo-cd/v3, go>= 3.5.0, < 3.5.4GitHub
  • github.com/argoproj/argo-cd/v3, go= 3.6.0-rc1GitHub
  • argo-cdaffected: >= 2.11.0, <= 2.14.21CVE List
  • argo-cdaffected: >= 3.0.0, < 3.3.15CVE List
  • argo-cdaffected: >= 3.4.0, < 3.4.10CVE List
  • argo-cdaffected: >= 3.5.0, < 3.5.4CVE List
  • argo-cdaffected: = 3.6.0-rc1CVE List
  • github.com/argoproj/argo-cd/v2, Gofrom 2.11.0, through 2.14.21OSV
  • github.com/argoproj/argo-cd/v3, Gofrom 3.0.0, fixed in 3.3.15OSV
  • github.com/argoproj/argo-cd/v3, Gofrom 3.4.0, fixed in 3.4.10OSV
  • github.com/argoproj/argo-cd/v3, Gofrom 3.5.0, fixed in 3.5.4OSV
  • github.com/argoproj/argo-cd/v3, Gofrom 3.6.0-rc1, fixed in 3.6.0-rc2OSV
  • github.com/argoproj/argo-cd/v3, Go3.6.0-rc1OSV

References 9