{"id":"UBUNTU-CVE-2026-47187","details":"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.","modified":"2026-09-02T19:35:47.014346993Z","published":"2026-08-19T15:17:00Z","upstream":["CVE-2026-47187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-47187"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-47187"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/05/30/3"},{"type":"REPORT","url":"https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357"},{"type":"REPORT","url":"https://github.com/libfuse/sshfs/pull/361"}],"affected":[{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5-1ubuntu1","binary_name":"sshfs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"sshfs","binary_version":"2.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10+repack-2","3.6.0+repack-1","3.6.0+repack+really2.10-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.0+repack+really2.10-0ubuntu1","binary_name":"sshfs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0+repack+really2.10-0ubuntu1","3.7.1+repack-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.1+repack-2","binary_name":"sshfs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.3-1.1build1","3.7.3-1.1build2","3.7.3-1.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"sshfs","binary_version":"3.7.3-1.1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.3-1.1build3","3.7.3-1.1build4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.3-1.1build4","binary_name":"sshfs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}},{"package":{"name":"sshfs-fuse","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/sshfs-fuse?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.3-1.1build4","3.7.3-1.1build5"],"ecosystem_specific":{"binaries":[{"binary_name":"sshfs","binary_version":"3.7.3-1.1build5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47187.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}