---
id: "CVE-2026-55797"
kind: "vulnerability"
aliases: ["CVE-2026-55797", "GHSA-j6cw-g6p4-7hch", "GO-2026-6701"]
title: "Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL in github.com/argoproj/argo-cd"
severity: "high"
cvss: 8.8
epss: 0.01548
exploited: false
status: "open"
category: "package"
products: [{"name": "github.com/argoproj/argo-cd", "fixed": [], "affected": "all versions", "ecosystem": "go"}, {"name": "github.com/argoproj/argo-cd/v2", "fixed": [], "affected": ">= 2.11.0", "ecosystem": "go"}, {"name": "github.com/argoproj/argo-cd/v3", "fixed": ["3.3.15", "3.4.10", "3.5.4", "3.6.0-rc2"], "affected": ">= 3.6.0-rc1, < 3.6.0-rc2", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["argo-cd", "gitops", "go", "kubernetes", "package"]
not_affected_if: ["default-config", "no-ssh-proxy-repos", "versions-before-2.11.0"]
published_at: "2026-10-09T17:16:47+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T19:51:23+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6701", "first_seen_at": "2026-10-23T19:13:08+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-55797", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55797", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

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

Argo CD's repo-server builds an SSH ProxyCommand from a repository's proxy host and port and runs it through a shell without escaping metacharacters. A user who can create or update a repository or repository credential template can inject shell commands that run inside the repo-server and reach its stored Git, Helm, and OCI credentials.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:github.com/argoproj/argo-cd affected all versions fixed ?
- go:github.com/argoproj/argo-cd/v2 affected >= 2.11.0 fixed ?
- go:github.com/argoproj/argo-cd/v3 affected >= 3.6.0-rc1, < 3.6.0-rc2 fixed 3.3.15, 3.4.10, 3.5.4, 3.6.0-rc2

## How to check

Check the Argo CD version with the repo-server image tag or the argocd version command; affected if below 3.3.15, 3.4.10, 3.5.4, or 3.6.0-rc2 (for 2.x, any version from 2.11.0 onward is affected per the sources).
Review Repository and repository credential template objects for SSH repos with a proxy URL set and check who can edit them.

## Fix

Upgrade Argo CD to 3.3.15, 3.4.10, 3.5.4, 3.6.0-rc2 or later; the sources do not list a fixed 2.x release.
Restrict who can create or update repositories and repository credential templates, and rotate Git, Helm, and OCI credentials if untrusted users had that access.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6701
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-55797
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-55797

## From the sources

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From 2.11.0 until 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2, the Argo CD repo-server is vulnerable to command injection when it clones, tests, or fetches an SSH Git repository configured with a proxy URL. The proxy host and port are embedded in an SSH ProxyCommand that is executed through a shell without neutralizing shell metacharacters. A user who can create or update a repository or repository credential template can supply a crafted proxy host to execute commands in the repo-server and access its Git, Helm, and OCI credentials. This issue is fixed in versions 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
