CVE-2026-59997: CWE-1284 Improper Validation of Specified Quantity in Input in OpenBSD OpenSSH
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.
AI Analysis
Technical Summary
CVE-2026-59997 describes an input validation issue in OpenSSH's internal-sftp in versions prior to 10.4. Specifically, the sshd internal-sftp implementation only processes the first nine command-line arguments, ignoring any subsequent ones. This behavior can affect security if later arguments are intended to enforce security properties for the SFTP connection, potentially weakening the intended security controls.
Potential Impact
The vulnerability may lead to reduced enforcement of security properties on SFTP connections due to ignored command-line arguments. The CVSS score of 4.2 indicates a medium severity with low confidentiality and integrity impact, no availability impact, and requiring network attack vector with high attack complexity and user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround information is provided at this time. Users should monitor OpenBSD advisories for updates and consider limiting exposure of affected OpenSSH versions until a fix is available.
CVE-2026-59997: CWE-1284 Improper Validation of Specified Quantity in Input in OpenBSD OpenSSH
Description
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.
CVSS v3.1
Score 4.2medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59997 describes an input validation issue in OpenSSH's internal-sftp in versions prior to 10.4. Specifically, the sshd internal-sftp implementation only processes the first nine command-line arguments, ignoring any subsequent ones. This behavior can affect security if later arguments are intended to enforce security properties for the SFTP connection, potentially weakening the intended security controls.
Potential Impact
The vulnerability may lead to reduced enforcement of security properties on SFTP connections due to ignored command-line arguments. The CVSS score of 4.2 indicates a medium severity with low confidentiality and integrity impact, no availability impact, and requiring network attack vector with high attack complexity and user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround information is provided at this time. Users should monitor OpenBSD advisories for updates and consider limiting exposure of affected OpenSSH versions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-07-08T00:09:04.544Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4da0cec9d9e3dbe333a4a0
Added to database: 07/08/2026, 00:58:54 UTC
Last enriched: 07/15/2026, 12:19:36 UTC
Last updated: 08/20/2026, 22:52:14 UTC
Views: 126
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.