CVEfocus › CVE database › CVE-2026-47187

CVE-2026-47187SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write

CVSS 9.3 CriticalEPSS 0.5% (higher than 35% of CVEs)Published 2026-08-19Updated 2026-08-20Assigner: GitHub_M

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.

CWE-59

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

8Fixed
4Fix pending
3Under investigation
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10sshfs-fuseFix pendingUBUNTU-CVE-2026-47187
Ubuntu 26.04sshfs-fuseUnder investigationUBUNTU-CVE-2026-47187
Ubuntu 25.10sshfs-fuseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-47187
Ubuntu 24.04sshfs-fuseUnder investigationUBUNTU-CVE-2026-47187
Ubuntu 22.04sshfs-fuseUnder investigationUBUNTU-CVE-2026-47187
Ubuntu 20.04sshfs-fuseFix pendingUBUNTU-CVE-2026-47187
Ubuntu 18.04sshfs-fuseFix pendingUBUNTU-CVE-2026-47187
Ubuntu 16.04sshfs-fuseFix pendingUBUNTU-CVE-2026-47187
Debian 14sshfs-fuseFixed3.7.3-1.2DEBIAN-CVE-2026-47187
Debian 13sshfs-fuseFixed3.7.3-1.2~deb13u1DEBIAN-CVE-2026-47187
Debian 12sshfs-fuseFixed3.7.3-1.2~deb12u1DEBIAN-CVE-2026-47187
Red Hat Enterprise Linux 8fuse-sshfsWill not fix
Out of support scope
Alpine Linux 3.24sshfsFixed3.7.6-r0ALPINE-CVE-2026-47187
Alpine Linux 3.23sshfsFixed3.7.6-r0ALPINE-CVE-2026-47187
Alpine Linux 3.22sshfsFixed3.7.6-r0ALPINE-CVE-2026-47187
Alpine Linux 3.21sshfsFixed3.7.6-r0ALPINE-CVE-2026-47187
Alpine Linux 3.20sshfsFixed3.7.6-r0ALPINE-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.

References

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.