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.
Published: 2026-07-08
Score: 4.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenSSH prior to version 10.4 contains an argument-parsing flaw in its internal-sftp subprocess: only the first nine command-line arguments are recognized, and any following arguments are silently discarded. When later arguments are required to enforce security properties such as user restrictions or permission constraints, those safeguards can be omitted, allowing a client to initiate an SFTP session that bypasses intended authorization controls. This weakness is identified as CWE-1284 and CWE-88.

Affected Systems

The vulnerability affects OpenBSD OpenSSH installations running any release before 10.4. Users who rely on the internal-sftp command for controls are at risk.

Risk and Exploitability

The CVSS score of 4.2 indicates a low overall severity, and the EPSS score of <1 % suggests a very low likelihood of exploitation. The issue is not listed in CISA’s KEV catalog. It is inferred that the most likely attack vector involves an adversary who can influence sshd—for example, through local compromise of configuration files or privileged access to restart the service. Exploitation requires the ability to alter the sshd launch parameters and knowledge of which arguments normally enforce security controls, thereby limiting the attack surface but still warranting remediation.

Generated by OpenCVE AI on July 26, 2026 at 18:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.4 or later to eliminate the argument parsing bug
  • Disable or restrict the use of internal-sftp for users who do not require it, or enforce strict authorization
  • Monitor SSH and SFTP logs for anomalous command-line arguments or privilege changes that could indicate exploitation attempts

Generated by OpenCVE AI on July 26, 2026 at 18:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8533-1 OpenSSH vulnerabilities
History

Wed, 08 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Title openssh: OpenSSH: SFTP security bypass due to command-line argument parsing flaw
Weaknesses CWE-88
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 08 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
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.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-1284
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:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-08T12:52:08.430Z

Reserved: 2026-07-08T00:09:04.544Z

Link: CVE-2026-59997

cve-icon Vulnrichment

Updated: 2026-07-08T12:52:04.488Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T00:09:04Z

Links: CVE-2026-59997 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:45:03Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')