CVE-2026-121621: Github.com/argoproj-labs/argocd-image-updater: argocd-image-updater: arbitrary command execution via crafted ssh repository proxy configuration

Published Nov 3, 2026
·
Updated

A command injection flaw was found in Argo CD Image Updater. When Argo CD Image Updater clones or fetches a Git repository over SSH that has a proxy configured, the proxy host and port are copied into an SSH ProxyCommand that is passed to Git through the shell-interpreted GITSSHCOMMAND environment variable. Because the proxy host and port are not neutralized, a proxy URL whose hostname contains shell metacharacters can break out of the intended command and execute arbitrary commands in the context of the Image Updater process. This is the same class of issue as CVE-2026-55797 in Argo CD (GHSA-j6cw-g6p4-7hch), which stems from the SOCKS5 proxy support for SSH Git URLs. Argo CD Image Updater shares the affected credential/proxy handling code (ext/git/creds.go), so it is affected in the same way. Only SSH repositories are affected: http, https, and socks5 proxy URLs all take this code path when set on an SSH repository. An HTTPS Git repository uses the proxy as an HTTP proxy and does not build this command. Anyone able to create or update a repository, a repository credential template, or the backing repository Secret can set a malicious proxy value. The command is executed when the repository connection is tested and on subsequent fetches, and the resulting process can access other Git, Helm, and OCI credentials available to Image Updater. The fix validates the proxy URL (scheme, hostname, and port) and writes the proxy settings to a temporary wrapper script instead of embedding the host and port directly into the shell-interpreted GITSSHCOMMAND string, preventing shell metacharacters from being interpreted. Upstream fix: https://github.com/argoproj-labs/argocd-image-updater/pull/1905 References: https://github.com/advisories/GHSA-j6cw-g6p4-7hch https://github.com/argoproj/argo-cd/commit/1e3ddd0b7250aa23f489956b5fab8c13d0493a9f

Other sources

A command injection vulnerability was found in Argo CD Image Updater, where a proxy URL configured on an SSH Git repository is passed unsanitized into a shell-interpreted SSH command. An attacker able to set a malicious proxy value can inject shell metacharacters to execute arbitrary commands and access credentials in the context of the Image Updater process.

— MITRE

Affected Software

0 affected components

Event History

Nov 3, 2026
Data Sourced
via Red Hat·04:13 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203