CVE-2026-106583

openssh: openssh: Command injection via unvalidated command-line username

Published Oct 6, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
Description
In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to embed special characters such as $ or \\ in the command-line username used by the SSH daemon. Injection into the username field can cause the SSH server to execute unintended commands, potentially leading to arbitrary code execution on the host with the privileges of the SSH service.

Affected Systems

OpenSSH versions prior to 10.6 on OpenBSD systems are affected. All installations using the legacy command-line username parsing may be vulnerable.

Risk and Exploitability

The CVSS score of 2.5 indicates low severity, and the EPSS score is less than 1%, indicating a very low but nonzero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, where an attacker sends a crafted username over SSH; the injection occurs during authentication processing. No additional exploitation conditions are specified in the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.6 or later.
  • Configure the SSH daemon or PAM module to reject usernames containing $ or \\ characters, preventing injection attempts.
  • Set up monitoring of SSH login attempts and investigate any unusual usernames that contain special characters.

Generated by OpenCVE AI on October 20, 2026 at 07:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8928-1 OpenSSH vulnerabilities
Ubuntu USN Ubuntu USN USN-8937-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Title Command Injection via Special Characters in Command-Line Username openssh: openssh: Command injection via unvalidated command-line username
Weaknesses CWE-78
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Command Injection via Special Characters in Command-Line Username
Type Values Removed Values Added
Description In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-99
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-99

    Improper Control of Resource Identifiers ('Resource Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2026, 6:10 PM
Reserved
Oct 6, 2026, 8:40 PM
Status
Analyzed
Published
Oct 7, 2026, 12:17 AM
Modified
Oct 15, 2026, 7:17 PM
Severity
Low
Public date
Oct 6, 2026, 11:42 PM