CVE-2026-59996

openssh: OpenSSH: `scp` file misplacement vulnerability during remote copy

Published Jul 8, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
Description
scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8533-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Title openssh: OpenSSH: `scp` file misplacement vulnerability during remote copy
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Title scp Remote-to-Remote Transfer Improper File Placement
Type Values Removed Values Added
Title scp Remote-to-Remote Transfer Improper File Placement
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-23
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 8, 2026, 1:03 PM
Reserved
Jul 8, 2026, 12:07 AM
Status
Analyzed
Published
Jul 8, 2026, 1:16 AM
Modified
Oct 25, 2026, 8:10 PM
Severity
Moderate
Public date
Jul 8, 2026, 12:07 AM