{"id":"CVE-2026-47187","state":"PUBLISHED","title":"SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write","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.","publishedAt":"2026-08-19T14:41:57.512Z","updatedAt":"2026-08-20T18:29:10.307Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["libfuse sshfs"],"affected":[{"vendor":"libfuse","product":"sshfs","versions":[{"version":"< 3.7.6","status":"affected"}]}],"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"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47187","state":"PUBLISHED","datePublished":"2026-08-19T14:41:57.512Z","dateUpdated":"2026-08-20T18:29:10.307Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-18T22:07:37.435Z"},"containers":{"cna":{"title":"SSHFS Symlink Escape: Rogue SFTP Server → Local File Read/Write","descriptions":[{"lang":"en","value":"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":[{"vendor":"libfuse","product":"sshfs","versions":[{"version":"< 3.7.6","status":"affected"}]}],"references":[{"url":"https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357","name":"https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libfuse/sshfs/pull/361","name":"https://github.com/libfuse/sshfs/pull/361","tags":["x_refsource_MISC"]},{"url":"https://github.com/libfuse/sshfs/commit/bcd132f17ccf1b8592a229df797c9b08883fec26","name":"https://github.com/libfuse/sshfs/commit/bcd132f17ccf1b8592a229df797c9b08883fec26","tags":["x_refsource_MISC"]},{"url":"https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6","name":"https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-19T14:41:57.512Z"},"source":{"advisory":"GHSA-pjv6-2c3f-r357","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-20T03:56:49.576196Z","id":"CVE-2026-47187","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T18:29:10.307Z"}}]}}}