CVE-2026-35386
OpenSSH: OpenSSH: Arbitrary command execution via shell metacharacters in username
Overview
Description
In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-696
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | <10.3.1+0 | 10.3.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 50 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssh | 0:9.8p1-6.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.0.1.el8_10 |
| 8 | openssh +6 | 8.0p1-29.0.1.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-9.7.0.2.el9_8 |
| 9 | openssh +4 | 9.9p1-7.0.2.el9_8 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.9p1-15.ph4 |
| 5.0 | openssh +3 | 9.3p2-21.ph5 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +10 | affected | — |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.15.el8_6.5 | RHSA-2026:21398 |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.29.el8_10 | RHSA-2026:13383 |
| 8 | openssh +6 | 0:8.0p1-15.el8_6.5 | RHSA-2026:21398 |
| 8 | openssh +2 | 0:8.0p1-20.el8_8.4 | RHSA-2026:21298 |
13 more rows
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.el8_10 |
| 8 | openssh +6 | 8.0p1-29.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-7.7.el9_8.alma.1 |
| 9 | openssh +4 | 9.9p1-7.el9_8.alma.1 |
alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| edge | openssh | 10.3_p1-r0 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | pam-ssh-agent-auth +1 | 0.10.4-4.8.amzn2023.0.18 |
| 2023 | openssh +8 | 8.7p1-8.amzn2023.0.18 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh | 1:8.4p1-5+deb11u7 |
| 12 | openssh | 1:9.2p1-2+deb12u10 |
| 13 | openssh | 1:10.0p1-7+deb13u3 |
| 14 | openssh | 1:10.3p1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:9.2p1-2+deb12u10 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssh +3 | 9.9p1-14.el10_1.rocky.0.1 |
| 10 | openssh +3 | 9.9p1-23.el10_2.rocky.0.1 |
| 8 | pam-ssh-agent-auth | 0.10.3-7.29.el8_10 |
| 8 | openssh +5 | 8.0p1-29.el8_10 |
| 9 | openssh +3 | 8.7p1-49.el9_7.rocky.0.1 |
| 9 | openssh +3 | 9.9p1-7.el9_8.rocky.0.1 |
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssh | 1:8.4p1-5+deb11u7 |
| 12 | openssh +1 | 1:9.2p1-2+deb12u10 |
| 13 | rootio-openssh | 1:10.0p1-7+deb13u3 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssh | 1:8.9p1-3ubuntu0.15 |
| 24.04 | openssh | 1:9.6p1-3ubuntu13.16 |
| 26.04 | openssh | 1:10.2p1-2ubuntu3.2 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13383
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19219
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-35386
- bugzilla.redhat.com https://bugzilla.redhat.com/2454469
- bugzilla.redhat.com https://bugzilla.redhat.com/2454490
- bugzilla.redhat.com https://bugzilla.redhat.com/2454494
- bugzilla.redhat.com https://bugzilla.redhat.com/2454500
- bugzilla.redhat.com https://bugzilla.redhat.com/2454506
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454469
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454490
Show all 30 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454494
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454500
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2454506
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35385
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35386
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35387
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35388
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35414
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-19219.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:13383
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-35386.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-19219.html
- marc.info https://marc.info/?l=openssh-unix-dev&m=177513443901484&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-35386
- ubuntu.com https://ubuntu.com/security/notices/USN-8222-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8804-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-35386
- www.openssh.org https://www.openssh.org/releasenotes.html#10.3p1
- www.openwall.com https://www.openwall.com/lists/oss-security/2026/04/02/3
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.