CVE-2026-47187 SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 8 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/sshfs-fuse(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/sshfs-fuse(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/sshfs-fuse(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/sshfs-fuse(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/sshfs(Alpine v3.20) | < 3.7.6-r0 | 3.7.6-r0 | Fixed |
| alpine/sshfs(Alpine v3.21) | < 3.7.6-r0 | 3.7.6-r0 | Fixed |
| alpine/sshfs(Alpine v3.22) | < 3.7.6-r0 | 3.7.6-r0 | Fixed |
| alpine/sshfs(Alpine v3.23) | < 3.7.6-r0 | 3.7.6-r0 | Fixed |
| alpine/sshfs(Alpine v3.24) | < 3.7.6-r0 | 3.7.6-r0 | Fixed |
| debian/sshfs-fuse(Debian 12) | < 3.7.3-1.2~deb12u1; = 3.7.3-1.1 | 3.7.3-1.2~deb12u1 | Fixed |
| debian/sshfs-fuse(Debian 13) | < 3.7.3-1.2~deb13u1; = 3.7.3-1.1; = 3.7.3-1.2~deb12u1 | 3.7.3-1.2~deb13u1 | Fixed |
| debian/sshfs-fuse(Debian 14) | < 3.7.3-1.2; = 3.7.3-1.1; = 3.7.3-1.2~deb12u1; = 3.7.3-1.2~deb13u1 | 3.7.3-1.2 | Fixed |
| libfuse sshfs | = < 3.7.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libfuse sshfs | = < 3.7.6 | No fix listed |
| debian/sshfs-fuse(Debian:12) | < 3.7.3-1.2~deb12u1 | 3.7.3-1.2~deb12u1 |
| debian/sshfs-fuse(Debian:14) | < 3.7.3-1.2 | 3.7.3-1.2 |
| debian/sshfs-fuse(Debian:13) | < 3.7.3-1.2~deb13u1 | 3.7.3-1.2~deb13u1 |
| redhat/fuse-sshfs(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| debian/sshfs-fuse(Debian:12) | = 3.7.3-1.1 | No fix listed |
| debian/sshfs-fuse(Debian:13) | = 3.7.3-1.1 | No fix listed |
| debian/sshfs-fuse(Debian:13) | = 3.7.3-1.2~deb12u1 | No fix listed |
| debian/sshfs-fuse(Debian:14) | = 3.7.3-1.1 | No fix listed |
| debian/sshfs-fuse(Debian:14) | = 3.7.3-1.2~deb12u1 | No fix listed |
| debian/sshfs-fuse(Debian:14) | = 3.7.3-1.2~deb13u1 | No fix listed |
| ubuntu/sshfs-fuse(Ubuntu:22.04) | All versions | No fix listed |
| alpine/sshfs(Alpine:v3.20) | < 3.7.6-r0 | 3.7.6-r0 |
| alpine/sshfs(Alpine:v3.21) | < 3.7.6-r0 | 3.7.6-r0 |
| alpine/sshfs(Alpine:v3.22) | < 3.7.6-r0 | 3.7.6-r0 |
| alpine/sshfs(Alpine:v3.23) | < 3.7.6-r0 | 3.7.6-r0 |
| alpine/sshfs(Alpine:v3.24) | < 3.7.6-r0 | 3.7.6-r0 |
| ubuntu/sshfs-fuse(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/sshfs-fuse(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/sshfs-fuse(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357
- https://github.com/libfuse/sshfs/pull/361
- https://github.com/libfuse/sshfs/commit/bcd132f17ccf1b8592a229df797c9b08883fec26
- https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6
- Debian Security Tracker CVE-2026-47187 vendor-advisory
- bugs.debian.org issue-tracking
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2519686 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-62493 third-party-advisory