Skip to content
Heist/ feed
Back to feed
HighFix available

Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL

Type: advisorySources: OSV

### 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](https://github.com/argoproj/argo-cd/commit/9b27aeb1a4fb15d11a0f01cad65dea1fdfc60205) (2024-01-09, [#15864](https://github.com/argoproj/argo-cd/pull/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 Arg

Products
github.com/argoproj/argo-cd/v2, github.com/argoproj/argo-cd/v3
Affected versions
3.6.0-rc1
Fixed versions
3.3.15, 3.4.10, 3.5.4, 3.6.0-rc2
CVEs
CVE-2026-55797
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:39 UTC · Revision 1

Source evidence

Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL

core-osv · Original source

Published 9 Oct 2026, 16:37 UTC

### 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](https://github.com/argoproj/argo-cd/commit/9b27aeb1a4fb15d11a0f01cad65dea1fdfc60205) (2024-01-09, [#15864](https://github.com/argoproj/argo-cd/pull/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 Arg

osv:GHSA-j6cw-g6p4-7hch

github.com/argoproj/argo-cd/v2

Fixed versions: Not specified

github.com/argoproj/argo-cd/v3

Fixed versions: 3.3.15

github.com/argoproj/argo-cd/v3

Fixed versions: 3.4.10

github.com/argoproj/argo-cd/v3

Fixed versions: 3.5.4

github.com/argoproj/argo-cd/v3

Fixed versions: 3.6.0-rc2

Complete source record
{
  "id": "38d4c8b41bc2983b0f42267548f2aabf9a43f89f77147fd2e6a1f4d395ee8de3",
  "url": "https://osv.dev/vulnerability/GHSA-j6cw-g6p4-7hch",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL",
    "summary": "### 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](https://github.com/argoproj/argo-cd/commit/9b27aeb1a4fb15d11a0f01cad65dea1fdfc60205) (2024-01-09, [#15864](https://github.com/argoproj/argo-cd/pull/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 Arg",
    "evidence": "osv:GHSA-j6cw-g6p4-7hch",
    "products": [
      {
        "name": {
          "value": "github.com/argoproj/argo-cd/v2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/argoproj/argo-cd/v3",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.3.15",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/argoproj/argo-cd/v3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.4.10",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/argoproj/argo-cd/v3",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.5.4",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/argoproj/argo-cd/v3",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.0-rc2",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.6.0-rc1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-j6cw-g6p4-7hch",
      "aliases": [
        "BIT-argo-cd-2026-55797",
        "CVE-2026-55797",
        "GHSA-j6cw-g6p4-7hch",
        "GO-2026-6701"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "2.11.0"
                },
                {
                  "last_affected": "2.14.21"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/argoproj/argo-cd/v2",
            "purl": "pkg:golang/github.com/argoproj/argo-cd/v2",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-j6cw-g6p4-7hch/GHSA-j6cw-g6p4-7hch.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "3.3.15"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/argoproj/argo-cd/v3",
            "purl": "pkg:golang/github.com/argoproj/argo-cd/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-j6cw-g6p4-7hch/GHSA-j6cw-g6p4-7hch.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.4.0"
                },
                {
                  "fixed": "3.4.10"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/argoproj/argo-cd/v3",
            "purl": "pkg:golang/github.com/argoproj/argo-cd/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-j6cw-g6p4-7hch/GHSA-j6cw-g6p4-7hch.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.5.0"
                },
                {
                  "fixed": "3.5.4"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/argoproj/argo-cd/v3",
            "purl": "pkg:golang/github.com/argoproj/argo-cd/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-j6cw-g6p4-7hch/GHSA-j6cw-g6p4-7hch.json"
          }
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.6.0-rc1"
                },
                {
                  "fixed": "3.6.0-rc2"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/argoproj/argo-cd/v3",
            "purl": "pkg:golang/github.com/argoproj/argo-cd/v3",
            "ecosystem": "Go"
          },
          "versions": [
            "3.6.0-rc1"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-j6cw-g6p4-7hch/GHSA-j6cw-g6p4-7hch.json"
          }
        }
      ],
      "modified": "2026-10-21T03:11:56.486094067Z",
      "provider": "osv",
      "references": [
        "https://github.com/argoproj/argo-cd/security/advisories/GHSA-j6cw-g6p4-7hch",
        "https://github.com/argoproj/argo-cd/commit/1e3ddd0b7250aa23f489956b5fab8c13d0493a9f",
        "https://github.com/argoproj/argo-cd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-09T16:37:24Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55797",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 391584,
  "published_at": "2026-10-09T16:37:24+00:00"
}