CVE-2026-35385

Summary

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).

Affected Software

VendorProductVersion RangeStatus
OpenBSDOpenSSH0 < 10.3affected

Weaknesses

  • CWE-281: CWE-281 Improper Preservation of Permissions

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

OpenSSH: OpenSSH: Privilege escalation via scp legacy protocol when not preserving file mode

Additional References

References