CVE-2026-59997
Analyzed Analyzed - Analysis Complete

OpenSSH internal-sftp Command-Line Argument Handling Flaw

Vulnerability report for CVE-2026-59997, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-08

Last updated on: 2026-07-09

Assigner: MITRE

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-08
Last Modified
2026-07-09
Generated
2026-07-15
AI Q&A
2026-07-08
EPSS Evaluated
2026-07-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openbsd openssh to 10.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Executive Summary

The vulnerability exists in the internal-sftp component of sshd in OpenSSH versions before 10.4. It only recognizes the first 9 command-line arguments, which can be problematic if additional arguments beyond the ninth are necessary to enforce the intended security properties of an SFTP connection.

Impact Analysis

Because internal-sftp only processes the first 9 command-line arguments, security measures or restrictions intended to be applied via later arguments might be ignored. This could lead to weaker security enforcement on SFTP connections, potentially allowing unauthorized access or actions that were meant to be prevented.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade OpenSSH to version 10.4 or later, as this release includes fixes for vulnerabilities in sftp, scp, and sshd components.

The update addresses issues that could allow malicious servers to write files to unintended locations or cause denial of service, and improves security properties related to internal-sftp command-line argument handling.

Detection Guidance

The vulnerability involves internal-sftp in sshd recognizing only the first 9 command-line arguments before OpenSSH 10.4. Detection would involve identifying sshd versions prior to 10.4 running on your systems.

To detect vulnerable versions, you can check the OpenSSH version installed on your system using the following command:

  • ssh -V

If the version is earlier than 10.4, your system may be affected by this vulnerability.

Additionally, you can scan your network for sshd services and query their version banners using tools like nmap:

  • nmap -sV -p 22 <target-ip>

This will reveal the SSH server version running on the target, allowing you to identify vulnerable hosts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59997. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart