CVE-2026-47187: CWE-59: Improper Link Resolution Before File Access ('Link Following') in libfuse sshfs
CVE-2026-47187 is a critical vulnerability in sshfs, a network filesystem client for SSH servers, where prior to version 3.7.6, a rogue SFTP server can supply symlink targets that cause the client to resolve links against the local filesystem improperly. This can lead to disclosure of local files or unauthorized writing to local files, including sensitive startup or scheduled-task files. The issue arises because the transform_symlinks mitigation does not handle relative symlink targets correctly, allowing unsafe link resolution. The vulnerability is fixed in sshfs version 3.7.6.
AI Analysis
Technical Summary
SSHFS versions prior to 3.7.6 are vulnerable to improper link resolution before file access (CWE-59). A malicious SFTP server can return absolute or relative symlink targets containing parent-directory components. SSHFS passes these targets to FUSE for resolution by the client kernel against the local filesystem. The existing mitigation, transform_symlinks, does not process relative targets correctly because transform_symlink() returns early, while sshfs_readlink() copies the server-supplied link target directly to the kernel. This flaw allows a victim or victim-side tool following such symlinks to disclose readable local files to the server or write server-controlled content to writable local files, potentially including critical files like startup or scheduled-task files. The vulnerability is addressed in sshfs version 3.7.6.
Potential Impact
An attacker controlling a rogue SFTP server can exploit this vulnerability to cause the sshfs client to follow symlinks that resolve to local filesystem paths. This can lead to unauthorized disclosure of local files or unauthorized modification of writable local files on the client side. The impact includes potential exposure of sensitive information and alteration of critical files such as startup or scheduled-task files, which could lead to further compromise. The CVSS v3.1 score is 9.3 (critical) with high confidentiality and integrity impact, no availability impact, and requires no privileges but user interaction.
Mitigation Recommendations
This vulnerability is fixed in sshfs version 3.7.6. Users should upgrade to version 3.7.6 or later to remediate this issue. No other official mitigation or temporary fix is documented. Until upgrading, users should avoid mounting filesystems from untrusted or potentially malicious SFTP servers to prevent exploitation.
CVE-2026-47187: CWE-59: Improper Link Resolution Before File Access ('Link Following') in libfuse sshfs
Description
CVE-2026-47187 is a critical vulnerability in sshfs, a network filesystem client for SSH servers, where prior to version 3.7.6, a rogue SFTP server can supply symlink targets that cause the client to resolve links against the local filesystem improperly. This can lead to disclosure of local files or unauthorized writing to local files, including sensitive startup or scheduled-task files. The issue arises because the transform_symlinks mitigation does not handle relative symlink targets correctly, allowing unsafe link resolution. The vulnerability is fixed in sshfs version 3.7.6.
CVSS v3.1
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SSHFS versions prior to 3.7.6 are vulnerable to improper link resolution before file access (CWE-59). A malicious SFTP server can return absolute or relative symlink targets containing parent-directory components. SSHFS passes these targets to FUSE for resolution by the client kernel against the local filesystem. The existing mitigation, transform_symlinks, does not process relative targets correctly because transform_symlink() returns early, while sshfs_readlink() copies the server-supplied link target directly to the kernel. This flaw allows a victim or victim-side tool following such symlinks to disclose readable local files to the server or write server-controlled content to writable local files, potentially including critical files like startup or scheduled-task files. The vulnerability is addressed in sshfs version 3.7.6.
Potential Impact
An attacker controlling a rogue SFTP server can exploit this vulnerability to cause the sshfs client to follow symlinks that resolve to local filesystem paths. This can lead to unauthorized disclosure of local files or unauthorized modification of writable local files on the client side. The impact includes potential exposure of sensitive information and alteration of critical files such as startup or scheduled-task files, which could lead to further compromise. The CVSS v3.1 score is 9.3 (critical) with high confidentiality and integrity impact, no availability impact, and requires no privileges but user interaction.
Mitigation Recommendations
This vulnerability is fixed in sshfs version 3.7.6. Users should upgrade to version 3.7.6 or later to remediate this issue. No other official mitigation or temporary fix is documented. Until upgrading, users should avoid mounting filesystems from untrusted or potentially malicious SFTP servers to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-18T22:07:37.435Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a85c70aacd9273b493b305e
Added to database: 08/19/2026, 15:08:58 UTC
Last enriched: 08/19/2026, 15:24:40 UTC
Last updated: 08/19/2026, 17:46:30 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.