CVE-2026-121621

Description

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.

Statement

This vulnerability is rated Moderate because successful exploitation requires authenticated access to create or modify Git repository configurations, credential templates, or their underlying Kubernetes Secrets. Furthermore, the risk is limited to deployments configuring network proxies specifically for repositories accessed over SSH, leaving standard HTTPS-based Git repositories unaffected. While arbitrary command execution is possible, code execution is restricted to the isolated container environment of the Argo CD Image Updater service.

Mitigation

--- CME Mitigation Guidance (2026-11-04) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to eliminate shell evaluation of GIT_SSH_COMMAND and strictly validate proxy host inputs in Argo CD Image Updater: upgrade to the fixed Openshift Gitops 1/Argocd Image Updater Rhel builds, which validate the proxy URL scheme, hostname, and port and write proxy execution settings to a temporary wrapper script instead of embedding them directly into GIT_SSH_COMMAND, closing all 3 injection vectors (crafted proxy hostname containing shell metacharacters in repository configuration, crafted proxy URL in repository credential templates, crafted proxy configuration in backing repository Secrets). Until patched, this is only a concern on Argo CD Image Updater deployments cloning or fetching Git repositories over SSH configured with a proxy — HTTPS Git repository connections are unaffected — so restrict and audit access for creating or updating repositories, repository credential templates, and backing repository Secrets. As a compensating measure, sanitize metacharacters and argument delimiters in repository proxy parameters before passing them to SSH, run SELinux in enforcing mode to confine the Argo CD process and restrict arbitrary command execution, deploy an EDR agent to monitor and detect anomalous child shell spawns originating from the Image Updater service, and use Falco or eBPF runtime probes to detect unexpected shell execution and anomalous network or file activity. These controls limit blast radius and contain exploitation, but they do not fix the underlying command injection flaw — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1307 Command Injection Prevention (No Shell Invocation) (high)

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score8.8N/A8.8
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Non-Repudiation

Technical Impact: Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart; Read Files or Directories; Modify Files or Directories; Read Application Data; Modify Application Data; Hide Activities

Attackers could execute unauthorized operating system commands, which could then be used to disable the product, or read and modify data for which the attacker does not have permissions to access directly. Since the targeted application is directly executing the commands instead of the attacker, any malicious activities may appear to come from the application or the application's owner.

Acknowledgements

This issue was discovered by Denis Karpelevich (Red Hat).

Frequently Asked Questions

Want to get errata notifications? Sign up here.