Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Malicious remote server needs no client privileges (PR:N, AV:N, AC:L) but the user must mount it and traverse the link (UI:R); escaping the mount to the local filesystem is a scope change (S:C) enabling local read/write (C:H/I:H, A:N).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
6Description PRE-NVD
AnalysisAI
Symlink-based mount escape in libfuse sshfs 3.7.5 and earlier lets a malicious or compromised SSH server craft symlink targets (absolute paths or targets containing '..') that the sshfs client passes unchecked to the local kernel, enabling local file reads and writes outside the intended mount root when the mounting user traverses them. Rated CVSS 9.3 (scope-changed) and tracked as a link-following flaw (CWE-59); no public exploit identified at time of analysis, and EPSS is very low at 0.03% (10th percentile). The fix introduces default symlink containment shipped in sshfs 3.7.6.
Technical ContextAI
sshfs is a FUSE-based filesystem that mounts a remote directory over SFTP/SSH; all metadata, including symlink targets returned by SFTP READLINK, is supplied by the remote server and exposed to the local kernel. The vulnerability is a CWE-59 link-following issue: prior to the fix, sshfs_readlink relayed server-supplied symlink targets verbatim, so a server could return absolute targets (e.g. /etc/passwd) or targets containing '..' components that resolve outside the mount root. Because the server is untrusted and controls intermediate path components, lexical normalization cannot be trusted; the upstream fix (commit bcd132f, PR 361) adds symlink_target_is_contained(), rejecting absolute or '..'-containing targets with EPERM under a new default-on 'contain_symlinks' option.
RemediationAI
Vendor-released patch: upgrade to sshfs 3.7.6 or later (https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6), which enables symlink containment by default so absolute and '..'-containing symlink targets from the server are rejected with EPERM. If you cannot upgrade immediately, the primary compensating control is to only mount SSH servers you fully trust and control, since the attack requires a malicious or compromised server; avoid mounting untrusted or third-party endpoints. After upgrading, keep the default 'contain_symlinks' enabled and do not pass 'no_contain_symlinks'; note that combining 'transform_symlinks' with containment can cause legitimate transformed links containing '..' to be rejected, so review that interaction (the tool emits a warning). Consult GHSA-pjv6-2c3f-r357 (https://github.com/libfuse/sshfs/security/advisories/GHSA-pjv6-2c3f-r357) for full guidance.
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Package Hub 15 SP7 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Package Hub 15 SP7 | Affected |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-62493