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.
Published: 2026-08-19
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SSHFS is a network filesystem client that allows a local user to mount a remote directory over SSH. From version 1.4 until 3.7.6, SSHFS accepts a bracketed mount source such as [-oProxyCommand=CMD]:/path. The find_base_path() routine removes the brackets, leaving a host value that begins with a dash and is passed directly to the ssh command. 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 attacker must provide an attacker‑controlled mount source to SSHFS using a wrapper or script, and this results in arbitrary command execution as the user running SSHFS. The issue is fixed in SSHFS 3.7.6.

Affected Systems

The affected product is the libfuse SSHFS client, versions from 1.4 through 3.7.5 inclusive. Users of any of these versions that allow mounting with bracketed options and supply a path‑valued sftp_server are vulnerable. Updating to SSHFS 3.7.6 or later removes the flaw.

Risk and Exploitability

The CVSS score of 7 indicates a high severity level for local code execution. The EPSS score is less than 1 %, suggesting a low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to be able to supply a malicious mount source to SSHFS—typically by running a wrapper or script that invokes SSHFS with the special bracketed syntax. Because the injected ProxyCommand executes locally before any SSH connection or authentication, the flaw can lead to arbitrary command execution as the SSHFS user even when the target SSH server is properly secured.

Generated by OpenCVE AI on August 20, 2026 at 15:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to SSHFS 3.7.6 or later to apply the fix that removes the argument injection flaw.
  • Audit existing scripts, wrappers, and scheduled jobs that invoke SSHFS with bracketed mount options, and restrict or remove those that allow untrusted input.
  • Enforce stricter access controls so that only authenticated, trusted users can invoke SSHFS, and consider applying mandatory access control (SELinux/AppArmor) to restrict SSHFS’s ability to execute arbitrary commands.
  • Monitor system logs for suspicious SSHFS invocations and anomalous command executions to detect exploitation attempts.

Generated by OpenCVE AI on August 20, 2026 at 15:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Libfuse
Libfuse sshfs
Vendors & Products Libfuse
Libfuse sshfs

Wed, 19 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title SSHFS: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T18:28:58.771Z

Reserved: 2026-05-22T18:47:27.755Z

Link: CVE-2026-48711

cve-icon Vulnrichment

Updated: 2026-08-20T18:28:55.888Z

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:05.580

Modified: 2026-08-20T19:16:52.933

Link: CVE-2026-48711

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T15:30:03Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')