Cyber Resilience

CVE-2026-59997

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:L/I:L/A:N
EPSS Score 0.0018 7th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-59997 is a medium-severity Improper Validation of Specified Quantity in Input (CWE-1284) vulnerability in Openbsd Openssh. Its CVSS base score is 4.2 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique SSH (T1021.004); ranked at the 7th 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 CM-6 (Configuration Settings) and CM-7 (Least Functionality) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments, which can be important if a later command-line argument would have helped to ensure the intended security properties of an SFTP connection.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1021.004 SSH Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
Why these techniques?

The vulnerability in OpenSSH's internal-sftp limits recognition to the first 9 command-line arguments, potentially allowing bypass of security configurations for SFTP connections, which maps to exploitation of SSH remote services.

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

CVEs Like This One

CVE-2026-59999Same product: Openbsd Openssh
CVE-2026-35388Same product: Openbsd Openssh
CVE-2026-35387Same product: Openbsd Openssh
CVE-2026-35385Same product: Openbsd Openssh
CVE-2026-59995Same product: Openbsd Openssh
CVE-2026-60000Same product: Openbsd Openssh
CVE-2026-60002Same product: Openbsd Openssh
CVE-2026-59996Same product: Openbsd Openssh
CVE-2026-35386Same product: Openbsd Openssh
CVE-2026-35414Same product: Openbsd Openssh

Affected Assets

openbsd
openssh
≤ 10.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • CM-6 Configuration Settings
  • 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)
  • V6.7.2
  • V1.4.2
  • V2.1.1
  • V2.2.1

Mitigating Controls (NIST 800-53 r5) AI

prevent

CM-6 enforces secure configuration settings for sshd, ensuring the internal-sftp subsystem receives the full intended command-line arguments rather than being truncated at nine.

prevent

CM-7 restricts unnecessary or unsafe functionality in OpenSSH, limiting exposure if an incomplete SFTP argument list weakens security properties.

prevent

SI-2 drives timely patching of OpenSSH to a version (≥10.4) that correctly processes all SFTP command-line arguments.

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 proper quantity/length validation in input handling.

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 can detect missing quantity validation but does not itself implement the control.

prevents

Secure development lifecycle mandates input validation for quantity fields, directly preventing CWE-1284.

prevents

Application security requirements explicitly call for validation of size/length inputs, mitigating CWE-1284.

prevents

Secure architecture principles encourage robust input handling but do not specifically address quantity validation.

prevents

Secure coding standards require explicit checks on numeric quantity inputs, fully addressing CWE-1284.

References