Skip to main content

CVE-2026-55797 — Vulnerability in argoproj/argo-cd/v2 — CVE Details

HIGH

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

Published October 9, 2026Updated October 21, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (3.13%). Schedule for your next planned update.

Does your project use an affected github.com/argoproj/argo-cd/v2 version?

Paste your go.sum to check it for CVE-2026-55797 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

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 (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.

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

Advisory Timeline

  • First published October 9, 2026 (48 days ago).
  • Last revised October 21, 2026 — 11 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/argoproj/argo-cd/v3 to 3.3.15 or later
go get github.com/argoproj/argo-cd/v3@v3.3.15
Go
Update github.com/argoproj/argo-cd/v3 to 3.4.10 or later
go get github.com/argoproj/argo-cd/v3@v3.4.10
Go
Update github.com/argoproj/argo-cd/v3 to 3.5.4 or later
go get github.com/argoproj/argo-cd/v3@v3.5.4
Go
Update github.com/argoproj/argo-cd/v3 to 3.6.0-rc2 or later
go get github.com/argoproj/argo-cd/v3@v3.6.0-rc2

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/argoproj/argo-cd/v2 Go · Affected: All versionsRange-based data available
github.com/argoproj/argo-cd/v3 Go · Affected: All versions3.3.15
github.com/argoproj/argo-cd/v3 Go · Affected: All versions3.4.10
github.com/argoproj/argo-cd/v3 Go · Affected: All versions3.5.4
github.com/argoproj/argo-cd/v3 Go · Affected: 3.6.0-rc13.6.0-rc2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-55797?
Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-55797?
CVE-2026-55797 affects github.com/argoproj/argo-cd/v2 and github.com/argoproj/argo-cd/v3. It has a 3.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55797 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
3.13%
EPSS percentile: 88.6

This places it in the top quartile of EPSS-scored vulnerabilities — 88.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-j6cw-g6p4-7hch
BIT-argo-cd-2026-55797
GO-2026-6701

Related CVEs

  • CVE-2025-47933
    CRITICAL

    Argo CD allows cross-site scripting on repositories page

  • CVE-2025-55190
    CRITICAL

    Argo CD's Project API Token Exposes Repository Credentials

  • CVE-2026-77459
    CRITICAL

    Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks

  • CVE-2025-59531
    HIGH

    Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload

  • CVE-2025-59538
    HIGH

    Argo CD Unauthenticated Remote DoS via malformed Azure DevOps git.push webhook

  • CVE-2025-55191
    MEDIUM

    Repository Credentials Race Condition Crashes Argo CD Server

  • CVE-2026-45737

    Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations in github.com/argoproj/argo-cd

  • CVE-2026-77459

    Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks in github.com/argoproj/argo-cd

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum