Description
SSHFS is a network filesystem client for connecting to SSH servers. From version 1.4 until 3.7.6, SSHFS accepts a bracketed mount source such as [-oProxyCommand=CMD]:/path and find_base_path() removes the brackets, leaving a host value that begins with - and is passed directly to ssh as a command-line argument. When a caller also supplies a path-valued sftp_server, ssh treats the normalized host as an option and the server path as its destination, causing an injected ProxyCommand to execute locally before any connection or authentication succeeds. The attack requires a caller or wrapper that passes an attacker-controlled mount source to SSHFS with the required sftp_server configuration and results in arbitrary command execution as the user running SSHFS. This issue is fixed in version 3.7.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libfuse | sshfs | < 3.7.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sshfs-fuse | 3.7.3-1.2 | — |
| Debian 13 | sshfs-fuse | 3.7.3-1.2~deb13u1 | — |
| Debian 12 | sshfs-fuse | 3.7.3-1.2~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | sshfs-fuse | No fix yet | — |
| Ubuntu 26.04 LTS | sshfs-fuse | No fix yet | — |
| Ubuntu 25.10 | sshfs-fuse | No fix yet | — |
| Ubuntu 24.04 LTS | sshfs-fuse | No fix yet | — |
| Ubuntu 22.04 LTS | sshfs-fuse | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | sshfs-fuse | No fix yet | — |
| Ubuntu 18.04 LTS | sshfs-fuse | No fix yet | — |
| Ubuntu 16.04 LTS | sshfs-fuse | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sshfs | 3.7.6-1.1 | openSUSE-SU-2026:10952-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | sshfs | 3.7.6-r0 | — |
| Alpine v3.23 | sshfs | 3.7.6-r0 | — |
| Alpine v3.22 | sshfs | 3.7.6-r0 | — |
| Alpine v3.21 | sshfs | 3.7.6-r0 | — |
| Alpine v3.20 | sshfs | 3.7.6-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | fuse-sshfs | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:10952-1 sshfs-3.7.6-1.1 on GA media SUSE / openSUSE Security Updates · Jun 4, 2026