Cyber Resilience

CVE-2026-59996

Path Traversal in Openbsd Openssh ≤ 10.4

Published
08 July 2026
Modified
09 July 2026
CVSS Score v3.1 4.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
EPSS Score 0.0025 17th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-59996 is a medium-severity Relative Path Traversal (CWE-23) vulnerability in Openbsd Openssh. Its CVSS base score is 4.2 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Lateral Tool Transfer (T1570); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1570 Lateral Tool Transfer Lateral Movement
Adversaries may transfer tools or other files between systems in a compromised environment.
Why these techniques?

The path traversal weakness (CWE-23) in scp allows an attacker to write files outside the intended destination directory when copying between remote hosts. This directly facilitates Lateral Tool Transfer (T1570) by enabling placement of malicious files on a target system via the scp utility.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-59995Same product: Openbsd Openssh
CVE-2026-35385Same product: Openbsd Openssh
CVE-2026-60000Same product: Openbsd Openssh
CVE-2026-35387Same product: Openbsd Openssh
CVE-2026-35386Same product: Openbsd Openssh
CVE-2026-60001Same product: Openbsd Openssh
CVE-2026-59997Same product: Openbsd Openssh
CVE-2026-60002Same product: Openbsd Openssh
CVE-2026-35414Same product: Openbsd Openssh
CVE-2026-59998Same product: Openbsd Openssh

Affected Assets

openbsd
openssh
≤ 10.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • CM-7 Least Functionality
  • SI-2 Flaw Remediation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Enforces access-control decisions so that the scp process cannot write outside the intended destination directory, directly blocking the path-traversal flaw.

prevent

Restricts the use of the scp utility (or its remote-to-remote mode) to the minimum set of required functions, reducing the attack surface for directory-traversal misuse.

prevent

Requires timely patching of OpenSSH so that the vulnerable scp code is replaced before an attacker can exploit the parent-directory write flaw.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and path sanitization that prevent relative traversal.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches path traversal via static/dynamic analysis, but does not itself implement the fix.

prevents

Secure development lifecycle mandates input validation and path-handling controls that directly prevent relative path traversal.

prevents

Application security requirements explicitly call for controls against path traversal and other injection flaws.

prevents

Secure architecture principles include directory isolation and canonicalization, reducing but not eliminating traversal risk.

prevents

Secure coding standards require neutralizing path traversal sequences, directly addressing CWE-23.

mitigates

Information access restriction limits which files can be reached, mitigating impact but not preventing the traversal flaw.

References