Description
In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation.
Published: 2026-10-06
Score: 4.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Directory Traversal allowing unintended file writes during recursive copy
Action: Patch
AI Analysis

Impact

The flaw in OpenSSH SFTP enables a server‑side directory traversal during recursive copy operations, allowing files to be written to locations outside the intended directory. This can result in overwriting existing files or creating new ones in arbitrary directories, potentially compromising system integrity or confidentiality.

Affected Systems

OpenSSH versions prior to 10.6 running on OpenBSD are vulnerable.

Risk and Exploitability

The CVSS score of 4.2 indicates moderate severity, and the EPSS score of 0.00358 (< 1%) indicates a low probability of exploitation. The vulnerability is not listed in CISA KEV. An attacker must be able to initiate an SFTP recursive copy to exploit this path traversal, which is a local or authenticated‑network attack vector inferred from the description. Successful exploitation writes files to unintended paths, which could compromise file integrity and availability.

Generated by OpenCVE AI on October 20, 2026 at 08:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OpenSSH 10.6 or newer.
  • If the upgrade cannot be performed immediately, restrict or disable the recursive copy feature in SFTP to prevent exploitation.
  • Continuously monitor SFTP access logs for abnormal write operations and enforce strict access controls.

Generated by OpenCVE AI on October 20, 2026 at 08:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8928-1 OpenSSH vulnerabilities
Ubuntu USN Ubuntu USN USN-8937-1 OpenSSH vulnerabilities
History

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Title OpenSSH SFTP Recursive Copy Directory Traversal openssh: openssh: Arbitrary file write via directory traversal during sftp recursive copy
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 07 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Title OpenSSH SFTP Recursive Copy Directory Traversal

Tue, 06 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
Description In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-23
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:N/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-07T22:06:29.194Z

Reserved: 2026-10-06T20:20:30.620Z

Link: CVE-2026-106552

cve-icon Vulnrichment

Updated: 2026-10-07T21:16:20.577Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T21:17:18.917

Modified: 2026-10-13T15:26:59.587

Link: CVE-2026-106552

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T20:20:31Z

Links: CVE-2026-106552 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T08:15:11Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-23

    Relative Path Traversal