Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence username passed to ssh
  2. Exploit
    %u expands inside ProxyCommand/Match exec
  3. Execution
    Shell interprets '$' or backslash
  4. Impact
    Execute arbitrary commands as ssh user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an OpenSSH client configuration in which a ProxyCommand or Match exec directive expands the %u token into a shell context; without %u used in those directives the flaw is not reachable. The attacker must be able to control or influence the username passed on the ssh command line (e.g., via a script, wrapper, or application that forwards untrusted input as the username), and a user/process must actually initiate the ssh connection (UI:R). Limiting factors: this is not exploitable against default OpenSSH configurations, execution occurs only with the privileges of the account running ssh (scope unchanged), and there is no server-side or standalone network trigger.

Impact

This is a command-injection flaw (CWE-78) in OpenSSH where shell metacharacters ('$' or a non-trailing backslash) in a command-line username survive into the shell when a configuration expands the %u token inside a ProxyCommand or Match exec directive. The Red Hat-assigned CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N, base 5.4) reflects the key tension in this issue: although the vector is network-reachable and unauthenticated (PR:N), it requires user interaction (UI:R) AND, critically, a non-default configuration that uses %u inside ProxyCommand/Match exec - a prerequisite the raw CVSS score does not capture and which the AC:L rating arguably understates. No EPSS score, CISA KEV listing, POC, or SSVC decision data was supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The realistic verdict is a conditional, moderate-risk client-side injection rather than a mass-exploitable server flaw: impact only materializes where an application or script feeds attacker-influenced usernames into an OpenSSH client whose config expands %u in a shell context. For the overwhelming majority of deployments that do not use %u in ProxyCommand/Match exec, real-world risk is low despite OpenSSH's ubiquity.

Exploit ScenarioDerived

An application or automation wrapper invokes the OpenSSH client with an externally supplied username, and the client's config expands %u inside a ProxyCommand or Match exec directive. An attacker submits a username containing '$' or a non-trailing backslash so that, when %u is expanded, the shell interprets those metacharacters and runs attacker-chosen commands as the user running ssh. No public exploit is identified at time of analysis; exploitation depends on the specific %u-in-shell configuration and on the attacker being able to influence the username.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

Command injection in the OpenSSH client allows shell metacharacters placed in a command-line username - specifically '$' or a non-trailing backslash - to reach a shell when the ssh configuration expands the %u token inside a ProxyCommand or Match exec directive, giving arbitrary command execution with the privileges of the account that runs ssh. Reachability is conditional: a default OpenSSH configuration is not affected, and the attack requires a non-default config using %u in those directives plus a username that an attacker can control or influence through a script, wrapper, or application that forwards untrusted input as the username, with a user or process actually initiating the connection (UI:R). Affected builds are OpenSSH as shipped in Red Hat Enterprise Linux 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4; no public exploit identified at time of analysis. Note the scoring divergence: Red Hat assigns 5.4 (C:L/I:L/A:N), while our independent assessment is higher at CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H because command execution under the invoking account can fully compromise confidentiality, integrity, and availability of that account's data and sessions.

RemediationAI

No vendor-released patch was identified at time of analysis; consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-110925 and Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2553034 for the current per-stream errata and updated openssh-clients packages, and apply them across RHEL 6-10, Red Hat Hardened Images, and OpenShift Container Platform 4 as they become available. Because the flaw is only reachable through configuration, the most effective immediate mitigation is to remove the %u token from any ProxyCommand or Match exec directive in ssh_config and replace it with a value that cannot carry shell metacharacters; the trade-off is loss of per-user dynamic proxy selection, which can usually be recovered by invoking ssh with an explicit -o ProxyCommand from a trusted wrapper. Where %u must be retained, sanitize or reject usernames containing '$' or backslash before they are passed to ssh (for example in wrapper scripts and automation), and never forward web- or API-supplied input directly into the ssh username argument; the trade-off is that legitimate usernames containing those characters will be blocked. Also prefer the -l flag with validated input over user@host positional arguments, and restrict which accounts are permitted to run ssh with configs containing %u, since exploitation runs only with the privileges of the invoking user and limiting those accounts bounds the blast radius.

Affected VersionsENISA

Red Hat Hardened Images patch: 10.5p1-1.2.hum1

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is a CWE-78 OS command injection rooted in how the OpenSSH client expands configuration tokens. Directives such as ProxyCommand and Match exec are executed through a shell (/bin/sh -c), so any configuration that interpolates the %u token into those directives embeds the username string into a shell command line. The client sanitizes usernames only for this specific purpose by stripping certain characters, but '$' and a non-trailing backslash survive that filtering, so shell expansion (variable substitution, command substitution, line continuation/escaping) can be triggered by a crafted username. The vulnerability therefore lives in the client-side ssh_config expansion path, not in the SSH transport protocol, the server (sshd), key exchange, or authentication code. The CPE data confirms the scope is vendor packaging rather than a single upstream release: Red Hat Enterprise Linux 6, 7, 8, 9, and 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are all listed as affected, reflecting the shared openssh-clients package across those products. Exploitation is confined to local execution as the user running ssh (scope unchanged, no server-side or standalone network trigger), which is why the real-world risk depends entirely on whether a deployment uses %u inside ProxyCommand or Match exec and whether usernames originate from untrusted sources such as jump-host wrappers, automation scripts, or web front-ends calling ssh on the user's behalf.

Know when Openssh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 7.5 HIGH

Command injection yields arbitrary code execution (C/I/A:H) but depends on a non-default %u-in-shell config (AC:H) and a user-initiated ssh connection (UI:R) with no prior authentication to the component (PR:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in OpenSSH. A username entered on the ssh command line can still contain '$' or a non-trailing backslash. When a configuration expands %u inside ProxyCommand or Match exec, those characters are passed into the shell.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
OpenSSH ships on virtually all Linux/Unix systems; vulnerable %u config is non-default
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2023-38408 CRITICAL POC
9.8 Jul 20

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remot

CVE-2023-25136 MEDIUM POC
6.5 Feb 03

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. Rated medium se

CVE-2016-6210 MEDIUM POC
5.9 Feb 13

sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static

CVE-2015-5600 HIGH POC
8.1 Aug 03

The kbdint_next_device function in auth2-chall.c in sshd in OpenSSH through 6.9 does not properly restrict the processin

CVE-2016-6515 HIGH POC
7.5 Aug 07

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password a

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2025-26465 MEDIUM
6.8 Feb 18

A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Rated medium severity (CVSS 6.8), this

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-0777 MEDIUM
6.5 Jan 14

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote serv

CVE-2016-3115 MEDIUM POC
6.4 Mar 22

Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to

CVE-2019-6110 MEDIUM POC
6.8 Jan 31

In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-T

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy