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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35386.json",
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"fixed": "10.3"
}
]
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"fixed": "10.3"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "10.3"
}
]
}
],
"cwe_ids": [
"CWE-696"
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "10.3"
}
]
}