CVE-2026-110925: 
OpenSSH Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-110925 is an OS command injection vulnerability in OpenSSH where shell metacharacters ($ and non-trailing backslash \) in a username supplied on the SSH command line are not properly sanitized. When an SSH configuration expands the %u token inside ProxyCommand or Match exec directives, these characters are passed directly to the shell, enabling potential command injection. The vulnerability affects OpenSSH as shipped in Red Hat products (including RHEL and OpenShift/RHEL CoreOS variants) and was disclosed on October 15, 2026. It carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat CVE, GitHub Advisory).

Détails techniques

The root cause is insufficient input validation in OpenSSH's ssh_valid_ruser function, which failed to reject $ or non-trailing backslash characters in usernames provided on the command line (CWE-78: Improper Neutralization of Special Elements used in an OS Command). This is a bypass of the earlier fix for CVE-2026-35386, which already rejected a different set of shell metacharacters and a trailing backslash in hostnames, but did not extend the same rejection to $ and \ in usernames. When the SSH client configuration uses %u expansion within ProxyCommand or Match exec blocks, the unsanitized username is interpolated into a shell command, allowing an attacker who controls the username argument to inject arbitrary shell commands. Usernames specified only within the SSH configuration file (not on the command line) are not affected by this flaw (Red Hat CVE, Red Hat Bugzilla).

Impact

Successful exploitation allows an attacker to execute arbitrary OS commands in the context of the user running the SSH client, resulting in limited confidentiality and integrity impacts (low confidentiality, low integrity, no availability impact per CVSS scoring). An attacker could read sensitive files or application data accessible to the SSH client process, or modify data and system state on the client host. Because exploitation requires user interaction (a user must invoke ssh with an attacker-controlled username), the blast radius is constrained to the client environment rather than the SSH server, but could still facilitate further lateral movement if the client has privileged access (Red Hat CVE, GitHub Advisory).

Exploitabilité

As of the disclosure date (October 15, 2026), no public proof-of-concept exploit code has been identified and there is no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, indicating a very low probability of exploitation in the near term (Red Hat CVE). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — specifically, a user must run ssh with an attacker-influenced username while a ProxyCommand or Match exec directive using %u is present in the configuration.

Étapes d’exploitation

  1. Identify a target configuration: Determine that the victim's SSH client configuration (~/.ssh/config or /etc/ssh/ssh_config) contains a ProxyCommand or Match exec directive that uses the %u token (e.g., ProxyCommand ssh-proxy %u@gateway).
  2. Craft a malicious username: Construct a username containing shell metacharacters such as $ or \ that, when expanded via %u, inject additional shell commands (e.g., user$(malicious_command) or user\nmalicious_command).
  3. Induce the victim to run SSH with the malicious username: Social-engineer or otherwise cause the victim to execute ssh 'user$(id > /tmp/pwned)'@target or supply the crafted username through an application that invokes ssh programmatically.
  4. Shell command execution: When the SSH client processes the configuration and expands %u in ProxyCommand or Match exec, the injected metacharacters cause the shell to execute the attacker's payload in the context of the SSH client user.
  5. Achieve objective: The injected command runs locally on the client host, potentially exfiltrating data, establishing persistence, or enabling further access (Red Hat CVE, Red Hat Bugzilla).

Indicateurs de compromis

  • Logs: Shell command execution logs (e.g., /var/log/auth.log, /var/log/secure) showing unexpected commands spawned around the time of an ssh invocation; audit logs (auditd) recording unusual execve syscalls from the SSH client process.
  • Process: Unexpected child processes spawned by the ssh client binary (e.g., bash, sh, curl, wget, python) with unusual arguments or environment variables derived from a username string.
  • File System: Unexpected files created in world-writable directories (e.g., /tmp/) or the user's home directory shortly after an SSH connection attempt; new cron jobs or authorized keys added by the SSH client user account.
  • Network: Outbound network connections initiated by the SSH client process to unexpected external hosts, particularly if the ProxyCommand payload includes a network callback (Red Hat CVE).

Atténuation et solutions de contournement

Red Hat has acknowledged the vulnerability and a patch is in progress (tracked in Bugzilla 2553034); users should apply vendor-issued updates for OpenSSH as soon as they become available for their Red Hat product (Red Hat Bugzilla). As an immediate workaround, Red Hat advises: do not pass untrusted usernames on the ssh command line when ProxyCommand or Match exec directives expand %u; avoid using %u expansion in shell commands within SSH configuration files when the username source is not fully trusted (Red Hat CVE). Additionally, auditing SSH client configurations to remove or restrict %u usage in ProxyCommand and Match exec blocks reduces exposure until a patch is applied.

Réactions de la communauté

Red Hat credited SecBuddyF of KeenLab for discovering and reporting this vulnerability (Red Hat CVE). The GitHub Advisory Database has classified it as "Moderate" severity and marked it as unreviewed, with no package-level fix version yet identified (GitHub Advisory). Broader community and media reaction has been limited given the recent disclosure date and moderate severity rating.

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

Debian

Fixé

bookworm

openssh

Fixé

sid

openssh

Fixé

trixie

openssh

Fixé

Ubuntu

Inconnu

bionic (esm-infra)

openssh

Inconnu

bionic (fips-updates)

openssh

Inconnu

bionic (fips)

openssh

Inconnu

devel

openssh

Inconnu

focal (esm-infra)

openssh

Inconnu

focal (fips-updates)

openssh

Inconnu

focal (fips)

openssh

Inconnu

jammy

openssh

Inconnu

RHEL / CentOS

Inconnu

Source: Ce rapport a été généré à l’aide de l’IA

Connexe OpenSSH Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-123158HIGH8.1
  • OpenSSH logoOpenSSH
  • cpe:2.3:a:openbsd:openssh
NonOuiNov 05, 2026
CVE-2026-110928MEDIUM6.5
  • OpenSSH logoOpenSSH
  • openssh-gssapi
NonNonOct 28, 2026
CVE-2026-110926MEDIUM5.3
  • OpenSSH logoOpenSSH
  • openssh-keysign
NonOuiOct 15, 2026
CVE-2026-110924MEDIUM4.8
  • OpenSSH logoOpenSSH
  • openssh-askpass
NonOuiOct 15, 2026
CVE-2026-110927MEDIUM4.3
  • OpenSSH logoOpenSSH
  • pam_ssh_agent_auth
NonOuiOct 15, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités