Skip to content

CVE-2026-48711 SSHFS: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

HighCVSS 7.0 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

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.

Upgrade path

14 packages: 8 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/fuse-sshfs(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
ubuntu/sshfs-fuse(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/sshfs-fuse(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/sshfs-fuse(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/sshfs-fuse(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/sshfs(Alpine v3.20) < 3.7.6-r0 3.7.6-r0 Fixed
alpine/sshfs(Alpine v3.21) < 3.7.6-r0 3.7.6-r0 Fixed
alpine/sshfs(Alpine v3.22) < 3.7.6-r0 3.7.6-r0 Fixed
alpine/sshfs(Alpine v3.23) < 3.7.6-r0 3.7.6-r0 Fixed
alpine/sshfs(Alpine v3.24) < 3.7.6-r0 3.7.6-r0 Fixed
debian/sshfs-fuse(Debian 12) < 3.7.3-1.2~deb12u1; = 3.7.3-1.1 3.7.3-1.2~deb12u1 Fixed
debian/sshfs-fuse(Debian 13) < 3.7.3-1.2~deb13u1; = 3.7.3-1.1; = 3.7.3-1.2~deb12u1 3.7.3-1.2~deb13u1 Fixed
debian/sshfs-fuse(Debian 14) < 3.7.3-1.2; = 3.7.3-1.1; = 3.7.3-1.2~deb12u1; = 3.7.3-1.2~deb13u1 3.7.3-1.2 Fixed
libfuse sshfs = < 3.7.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
libfuse sshfs = < 3.7.6 No fix listed
debian/sshfs-fuse(Debian:12) < 3.7.3-1.2~deb12u1 3.7.3-1.2~deb12u1
debian/sshfs-fuse(Debian:14) < 3.7.3-1.2 3.7.3-1.2
debian/sshfs-fuse(Debian:13) < 3.7.3-1.2~deb13u1 3.7.3-1.2~deb13u1
redhat/fuse-sshfs(Red Hat:enterprise_linux:8) All versions No fix listed
debian/sshfs-fuse(Debian:12) = 3.7.3-1.1 No fix listed
debian/sshfs-fuse(Debian:13) = 3.7.3-1.1 No fix listed
debian/sshfs-fuse(Debian:13) = 3.7.3-1.2~deb12u1 No fix listed
debian/sshfs-fuse(Debian:14) = 3.7.3-1.1 No fix listed
debian/sshfs-fuse(Debian:14) = 3.7.3-1.2~deb12u1 No fix listed
debian/sshfs-fuse(Debian:14) = 3.7.3-1.2~deb13u1 No fix listed
ubuntu/sshfs-fuse(Ubuntu:22.04) All versions No fix listed
alpine/sshfs(Alpine:v3.20) < 3.7.6-r0 3.7.6-r0
alpine/sshfs(Alpine:v3.21) < 3.7.6-r0 3.7.6-r0
alpine/sshfs(Alpine:v3.22) < 3.7.6-r0 3.7.6-r0
alpine/sshfs(Alpine:v3.23) < 3.7.6-r0 3.7.6-r0
alpine/sshfs(Alpine:v3.24) < 3.7.6-r0 3.7.6-r0
ubuntu/sshfs-fuse(Ubuntu:24.04) All versions No fix listed
ubuntu/sshfs-fuse(Ubuntu:26.04) All versions No fix listed
ubuntu/sshfs-fuse(Ubuntu:26.10) All versions No fix listed

References