Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-35386

OpenSSH: OpenSSH: Arbitrary command execution via shell metacharacters in username

Overview

Published
2 Apr 2026
Modified
24 Jul 2026
High CVE
1 Registry packages
19 OS packages
12 Linux distributions
Yes Fix available

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

Packages affected by CVE-2026-35386
EcosystemPackageVulnerableFixed 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

fixed 1
openssh
Azure Linux fixes for CVE-2026-35386
ReleasePackageFixed in
3.0 openssh 0:9.8p1-6.azl3

Oracle Linux 2 releases · 2 packages

fixed 4
pam-ssh-agent-auth openssh
Oracle Linux fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 2
openssh
Photon OS fixes for CVE-2026-35386
ReleasePackageFixed in
4.0 openssh +3 8.9p1-15.ph4
5.0 openssh +3 9.3p2-21.ph5

Red Hat 3 releases · 3 packages

affected 3 fixed 16
openshift-ose-rhel-coreos-8 pam-ssh-agent-auth openssh
Red Hat fixes for CVE-2026-35386
ReleasePackageFixed inAdvisory
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

fixed 4
pam-ssh-agent-auth openssh
alma fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 1
openssh
alpine fixes for CVE-2026-35386
ReleasePackageFixed in
edge openssh 10.3_p1-r0

amazon linux 1 release · 2 packages

fixed 2
pam-ssh-agent-auth openssh
amazon linux fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 4
openssh
debian fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 1
openssh
echo fixes for CVE-2026-35386
ReleasePackageFixed in
openssh 1:9.2p1-2+deb12u10

rocky 3 releases · 2 packages

fixed 6
openssh pam-ssh-agent-auth
rocky fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 3
rootio-openssh openssh
root.io debian fixes for CVE-2026-35386
ReleasePackageFixed 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

fixed 3
openssh
ubuntu fixes for CVE-2026-35386
ReleasePackageFixed 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

Show all 30 references

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.