GO-2026-6701: Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Argo CDto a version that resolves this vulnerability.Fixed in 3.3.15 - Upgrade
Upgrade
Argo CDto a version that resolves this vulnerability.Fixed in 3.4.10 - Upgrade
Upgrade
Argo CDto a version that resolves this vulnerability.Fixed in 3.5.4 - Upgrade
Upgrade
Argo CDto a version that resolves this vulnerability.Fixed in 3.6.0-rc2
Event History
Frequently Asked Questions
Who can exploit this issue?
A user who can create or update an Argo CD repository or repository credential template can exploit it by supplying a crafted proxy host in an SSH repository SOCKS5 proxy URL.
When is the vulnerable code path reached?
The command injection can occur when repo-server clones, tests, or fetches an SSH Git repository configured with a proxy URL.
What could an attacker access after successful exploitation?
Commands execute in the repo-server context, allowing access to its Git, Helm, and OCI credentials.
Which releases contain fixes?
The issue is fixed in Argo CD 3.3.15, 3.4.10, 3.5.4, and 3.6.0-rc2.