CVE-2026-47187SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | sshfs-fuse | Fix pending | UBUNTU-CVE-2026-47187 | |
| Ubuntu 26.04 | sshfs-fuse | Under investigation | UBUNTU-CVE-2026-47187 | |
| Ubuntu 25.10 | sshfs-fuse | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-47187 | |
| Ubuntu 24.04 | sshfs-fuse | Under investigation | UBUNTU-CVE-2026-47187 | |
| Ubuntu 22.04 | sshfs-fuse | Under investigation | UBUNTU-CVE-2026-47187 | |
| Ubuntu 20.04 | sshfs-fuse | Fix pending | UBUNTU-CVE-2026-47187 | |
| Ubuntu 18.04 | sshfs-fuse | Fix pending | UBUNTU-CVE-2026-47187 | |
| Ubuntu 16.04 | sshfs-fuse | Fix pending | UBUNTU-CVE-2026-47187 | |
| Debian 14 | sshfs-fuse | Fixed | 3.7.3-1.2 | DEBIAN-CVE-2026-47187 |
| Debian 13 | sshfs-fuse | Fixed | 3.7.3-1.2~deb13u1 | DEBIAN-CVE-2026-47187 |
| Debian 12 | sshfs-fuse | Fixed | 3.7.3-1.2~deb12u1 | DEBIAN-CVE-2026-47187 |
| Red Hat Enterprise Linux 8 | fuse-sshfs | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | sshfs | Fixed | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine Linux 3.23 | sshfs | Fixed | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine Linux 3.22 | sshfs | Fixed | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine Linux 3.21 | sshfs | Fixed | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine Linux 3.20 | sshfs | Fixed | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libfuse sshfs: affected: < 3.7.6
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.