CVE Catalog

CVE-2026-47187

CriticalCVSS 9.3
Published: Translated: NVD NIST

Summary

SSHFS before version 3.7.6 contains a vulnerability where a rogue SFTP server can return arbitrary symlink targets (absolute or with parent-directory components). SSHFS passes them to the kernel via FUSE, and the transform_symlinks mitigation does not block relative paths. A victim or tool (e.g., cp, rsync, editor) following such a link can disclose local files to the server or write server-controlled content to local files.

Risk Assessment

An attacker (SFTP server) can gain access to local user files or write malicious files (e.g., startup scripts), potentially leading to data theft or system compromise.

Recommendation

Update SSHFS to version 3.7.6 or later. Avoid mounting untrusted SFTP filesystems and consider additional protections such as sandboxing.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS