Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M
CVE-2026-47187SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write
Critical 9.3
In plain English
A critical-severity security flaw in sshfs from libfuse. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | sshfs | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine:v3.21 | sshfs | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine:v3.22 | sshfs | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine:v3.23 | sshfs | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Alpine:v3.24 | sshfs | 3.7.6-r0 | ALPINE-CVE-2026-47187 |
| Debian:12 | sshfs-fuse | 3.7.3-1.2~deb12u1 | DEBIAN-CVE-2026-47187 |
| Debian:13 | sshfs-fuse | 3.7.3-1.2~deb13u1 | DEBIAN-CVE-2026-47187 |
| Debian:14 | sshfs-fuse | 3.7.3-1.2 | DEBIAN-CVE-2026-47187 |
| Ubuntu:22.04:LTS | sshfs-fuse | no fix listed | UBUNTU-CVE-2026-47187 |
| Ubuntu:24.04:LTS | sshfs-fuse | no fix listed | UBUNTU-CVE-2026-47187 |
| Ubuntu:25.10 | sshfs-fuse | no fix listed | UBUNTU-CVE-2026-47187 |
| Ubuntu:26.04:LTS | sshfs-fuse | no fix listed | UBUNTU-CVE-2026-47187 |
| Ubuntu:26.10 | sshfs-fuse | no fix listed | UBUNTU-CVE-2026-47187 |
Affected products (as reported)
Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357 x_refsource_CONFIRM
- https://github.com/libfuse/sshfs/pull/361 x_refsource_MISC
- https://github.com/libfuse/sshfs/commit/bcd132f17ccf1b8592a229df797c9b08883fec26 x_refsource_MISC
- https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6 x_refsource_MISC