CVE-2026-48711
Received Received - Intake

SSHFS Command Injection via ProxyCommand Option

Vulnerability report for CVE-2026-48711, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
libfuse sshfs 1.4
libfuse sshfs 3.7.5
libfuse sshfs 3.7.6

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

SSHFS versions 1.4 to 3.7.5 are vulnerable to argument injection via maliciously crafted mount sources. An attacker can provide a bracketed mount source like [-oProxyCommand=CMD]:/path, which SSHFS incorrectly parses, stripping brackets and leaving -oProxyCommand=CMD as the hostname. This is passed directly to SSH, executing arbitrary commands before authentication.

Detection Guidance

Check if your SSHFS version is between 1.4 and 3.7.5. Run: sshfs -V. If the version is older than 3.7.6, the system is vulnerable. Additionally, inspect mount commands for bracketed mount sources like [-oProxyCommand=CMD]:/path.

Impact Analysis

An attacker could execute arbitrary commands on your system as the user running SSHFS. This requires a caller or wrapper passing an attacker-controlled mount source with specific sftp_server configuration. The attack executes locally before any connection or authentication, bypassing security controls.

Compliance Impact

This vulnerability could potentially violate compliance with GDPR and HIPAA by enabling unauthorized local command execution on systems handling sensitive data. The arbitrary command execution risk may lead to data exfiltration or unauthorized access, which are critical violations under these regulations.

Mitigation Strategies

Upgrade SSHFS to version 3.7.6 or later. If upgrading is not possible, avoid using untrusted mount sources with bracketed notation or sftp_server paths. Review and sanitize any scripts or wrappers that pass mount sources to SSHFS.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48711. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart