Improper Preservation of Permissions Affecting openssh-portable package, versions [,10.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENSSHPORTABLE-15924837
  • published7 Apr 2026
  • disclosed2 Apr 2026
  • creditChristos Papakonstantinou

Introduced: 2 Apr 2026

CVE-2026-35385  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade openssh-portable to version 10.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Preservation of Permissions in the scp when the legacy protocol option (-O) is used by a root user without preserving original file permissions (-p). An attacker can gain elevated privileges by supplying a malicious file that, when downloaded, is installed with setuid or setgid bits, allowing unintended execution with higher permissions.

CVSS Base Scores

version 4.0
version 3.1