CVE-2026-48711
Beschrijving NL
SSHFS is een netwerkbestandssysteemclient voor het verbinden met SSH-servers. Vanaf versie 1.4 tot 3.7.6 accepteert SSHFS een koppelbron tussen haakjes zoals [-oProxyCommand =CMD]:/path en find_base_path() verwijdert de haakjes, waardoor een hostwaarde overblijft die begint met - en rechtstreeks wordt doorgegeven aan ssh als een opdrachtregelargument. Wanneer een beller ook een padgewaardeerde sftp_server levert, behandelt ssh de genormaliseerde host als een optie en het serverpad als zijn bestemming, waardoor een geïnjecteerde ProxyCommand lokaal wordt uitgevoerd voordat een verbinding of verificatie slaagt. De aanval vereist een beller of wrapper die een door een aanvaller gecontroleerde mount-bron doorgeeft aan SSHFS met de vereiste sftp_server-configuratie en resulteert in willekeurige opdrachtuitvoering als de gebruiker SSHFS uitvoert. Dit probleem is opgelost in versie 3.7.6.
Origineel (Engels) tonen
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.