Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd/v3
  4. ›
  5. CVE-2026-55797

CVE-2026-55797: Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL

October 9, 2026

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.

References

  • github.com/advisories/GHSA-j6cw-g6p4-7hch
  • github.com/argoproj/argo-cd/commit/1e3ddd0b7250aa23f489956b5fab8c13d0493a9f
  • github.com/argoproj/argo-cd/security/advisories/GHSA-j6cw-g6p4-7hch
  • nvd.nist.gov/vuln/detail/CVE-2026-55797

Code Behaviors & Features

Detect and mitigate CVE-2026-55797 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.3.15, all versions starting from 3.4.0 before 3.4.10, all versions starting from 3.5.0 before 3.5.4, all versions starting from 3.6.0-rc1 before 3.6.0-rc2

Fixed versions

  • 3.3.15
  • 3.4.10
  • 3.5.4
  • 3.6.0-rc2

Solution

Upgrade to versions 3.3.15, 3.4.10, 3.5.4, 3.6.0-rc2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/argoproj/argo-cd/v3/CVE-2026-55797.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:06 +0000.