Description
SSHFS is a network filesystem client for connecting to SSH servers. Prior to version 3.7.6, a rogue SFTP server can return absolute symlink targets or relative targets containing parent-directory components that SSHFS passes through FUSE for resolution by the client kernel against the local filesystem. The documented transform_symlinks mitigation does not contain relative targets because transform_symlink() returns early at sshfs.c:2181, while sshfs_readlink() at sshfs.c:2234 to sshfs.c:2236 otherwise copies the server-supplied link target to the kernel. A victim or victim-side tool that follows such a link through ordinary operations such as cp, rsync, backup tooling, or an editor can disclose readable local files back to the server or write server-controlled content to writable local files, potentially including startup or scheduled-task files. This issue is fixed in version 3.7.6.
Published: 2026-08-19
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A rogue SFTP server can supply symlink targets with absolute paths or relative paths containing parent-directory components. SSHFS copies these targets to the kernel through FUSE, allowing the client to resolve and follow them. If a legitimate or malicious server returns such a link, an attacker can read any local files that the client can access or overwrite writable files, including startup scripts or scheduled-task files. The flaw originates from the transform_symlinks mitigation not filtering relative targets, and the readlink logic propagating them unchanged.

Affected Systems

The vulnerability affects the libfuse SSHFS client up to and including version 3.7.5. Any system running a pre‑3.7.6 build of SSHFS and connecting to an SFTP server may be impacted.

Risk and Exploitability

The CVSS score is 9.3, indicating a critical severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote: a malicious or compromised SFTP server can deliver the exploit over an established SSH connection, requiring no local user interaction other than mounting the filesystem. Because the flaw permits local file read and write, it allows both confidentiality and integrity violations for all files the user can access, potentially leading to full system compromise if the attacker can modify startup or scheduled-task files.

Generated by OpenCVE AI on August 19, 2026 at 17:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the SSHFS client to version 3.7.6 or later, ensuring that the patch that removes the vulnerable symlink handling is applied.
  • After upgrading, re‑mount any affected filesystem and verify that previously exposed symlink targets no longer resolve to local paths. Re‑audit the mounts for unexpected symbolic links that might still point outside the intended directory.
  • When an upgrade is temporarily infeasible, limit SSHFS usage to trusted servers only and consider firewall or network segmentation to prevent rogue SFTP connections from reaching vulnerable clients.

Generated by OpenCVE AI on August 19, 2026 at 17:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description SSHFS is a network filesystem client for connecting to SSH servers. Prior to version 3.7.6, a rogue SFTP server can return absolute symlink targets or relative targets containing parent-directory components that SSHFS passes through FUSE for resolution by the client kernel against the local filesystem. The documented transform_symlinks mitigation does not contain relative targets because transform_symlink() returns early at sshfs.c:2181, while sshfs_readlink() at sshfs.c:2234 to sshfs.c:2236 otherwise copies the server-supplied link target to the kernel. A victim or victim-side tool that follows such a link through ordinary operations such as cp, rsync, backup tooling, or an editor can disclose readable local files back to the server or write server-controlled content to writable local files, potentially including startup or scheduled-task files. This issue is fixed in version 3.7.6.
Title SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T14:41:57.512Z

Reserved: 2026-05-18T22:07:37.435Z

Link: CVE-2026-47187

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:05.310

Modified: 2026-08-19T15:17:05.310

Link: CVE-2026-47187

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T17:30:16Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')