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: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SSHFS is a network filesystem client that connects to SSH servers. Before version 3.7.6, an attacker controlling a rogue SFTP server can return symlink targets that are absolute paths or relative paths containing parent‑directory components. These targets are passed unfiltered from SSHFS through the FUSE layer to the client kernel, which resolves them. The documented transform_symlinks mitigation fails because transform_symlink() returns early at sshfs.c:2181, allowing relative targets to slip through, and sshfs_readlink() from sshfs.c:2234 to sshfs.c:2236 copies the server‑supplied link target directly to the kernel. As a result, any local file that the client user can read or write can be accessed via a malicious symlink. Tools such as cp, rsync, backup utilities, or editors that follow such links can disclose local files to the server or allow the attacker to write to writable files, potentially including startup or scheduled‑task scripts. The issue was fixed in SSHFS 3.7.6.

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. The EPSS score is less than 1%, implying a low likelihood of widespread exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote: a rogue or compromised SFTP server can supply the malicious symlink data over an established SSH connection, requiring only that the client mount the filesystem. Because the flaw permits local file read and write for any file accessible to the client user, it allows potential confidentiality and integrity violations and could lead to full system compromise if the attacker can modify startup or scheduled‑task files.

Generated by OpenCVE AI on August 20, 2026 at 15:53 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 20, 2026 at 15:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Libfuse
Libfuse sshfs
Vendors & Products Libfuse
Libfuse sshfs

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T18:29:10.307Z

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

Link: CVE-2026-47187

cve-icon Vulnrichment

Updated: 2026-08-20T18:29:07.908Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-20T19:16:52.813

Link: CVE-2026-47187

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T16:00:05Z

Weaknesses
  • CWE-59

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