In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is performed as root with -O (legacy scp protocol) and without -p (preserve mode).
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35385.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-281"
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "10.3"
}
]
}