OpenSSH up to 10.2 Command Line ssh_config incorrect behavior order
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in OpenSSH up to 10.2. This affects the function ssh_config of the component Command Line Handler. Such manipulation leads to incorrect behavior order.
This vulnerability is documented as CVE-2026-35386. The attack needs to be performed locally. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability was found in OpenSSH up to 10.2 and classified as problematic. Affected by this issue is the function ssh_config of the component Command Line Handler. The manipulation with an unknown input leads to a incorrect behavior order vulnerability. Using CWE to declare the problem leads to CWE-696. The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways which may produce resultant weaknesses. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at openssh.org. This vulnerability is handled as CVE-2026-35386 since 04/02/2026. The exploitation is known to be difficult. The attack needs to be approached locally. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 07/26/2026).
The vulnerability scanner Nessus provides a plugin with the ID 304834 (Linux Distros Unpatched Vulnerability : CVE-2026-35386), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 10.3 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (304834) and CERT Bund (WID-SEC-2026-0979). Once again VulDB remains the best source for vulnerability data.
Affected
- IBM AIX
- IBM VIOS
- Google Container-Optimized OS
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- NetApp ActiveIQ Unified Manager
- Microsoft Azure Linux
- Open Source OpenSSH
- Red Hat OpenShift
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔒
CNA Base Score: 3.6
CNA Vector (MITRE): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Incorrect behavior orderCWE: CWE-696
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 304834
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-35386
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: OpenSSH 10.3
Timeline
04/02/2026 Advisory disclosed04/02/2026 CVE reserved
04/02/2026 VulDB entry created
07/26/2026 VulDB entry last update
Sources
Advisory: openssh.orgStatus: Confirmed
CVE: CVE-2026-35386 (🔒)
GCVE (CVE): GCVE-0-2026-35386
GCVE (VulDB): GCVE-100-354956
CERT Bund: WID-SEC-2026-0979 - OpenSSH: Mehrere Schwachstellen
Entry
Created: 04/02/2026 19:36Updated: 07/26/2026 16:38
Changes: 04/02/2026 19:36 (64), 04/06/2026 11:23 (2), 05/04/2026 01:49 (7), 06/04/2026 04:47 (1), 07/07/2026 22:21 (11), 07/26/2026 16:38 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.