CVE-2026-81889: CWE-918: Server-Side Request Forgery (SSRF) in Studio-42 elFinder
Description
elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, elFinder URL uploads in php/elFinder.class.php can bypass server-side request forgery protections when PHP cURL is unavailable because validate_address() validates $info['ip'], but get_remote_contents() selects fsock_get_contents(), which connects to $arr['host'] and performs a second DNS resolution. An attacker able to submit a URL upload can use DNS rebinding to have the first resolution return a public address and the connection resolution return a loopback or private address, causing the internal HTTP response body to be stored as an uploaded file and made readable through elFinder. After a successful fetch, get_headers($url, true) separately requests the original hostname without reusing the validated and pinned connection, creating an additional blind server-side request forgery path even when curl_get_contents() is selected. This issue is fixed in version 2.1.70.
CVSS v3.1
Score 8.6high
Affected software
Studio-42
elFinder
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
elFinder versions prior to 2.1.70 contain an SSRF vulnerability in the URL upload feature implemented in php/elFinder.class.php. When PHP cURL is unavailable, the function validate_address() validates the IP address from the first DNS resolution, but the actual connection uses fsock_get_contents(), which performs a second DNS resolution. This discrepancy allows an attacker to use DNS rebinding to have the first resolution return a public IP and the second resolution return a private or loopback IP, causing internal HTTP responses to be fetched and stored as uploaded files accessible via elFinder. Furthermore, after fetching content, get_headers() makes an additional request to the original hostname without reusing the validated connection, creating another SSRF vector even when cURL is used. This vulnerability is addressed in elFinder version 2.1.70.
Potential Impact
Successful exploitation allows an unauthenticated attacker to perform SSRF attacks via the URL upload feature, potentially accessing internal network resources or sensitive data by causing the server to fetch internal HTTP responses and store them as files accessible through elFinder. The vulnerability does not impact integrity or availability but can lead to significant confidentiality breaches.
Mitigation Recommendations
This vulnerability is fixed in elFinder version 2.1.70. Users should upgrade to version 2.1.70 or later to remediate this issue. No official patch or temporary workaround details are provided in the available data. Until upgraded, disabling URL upload functionality or ensuring PHP cURL is available and properly configured may reduce risk, but the definitive fix is upgrading to 2.1.70.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-27T17:48:42.123Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a95e616acd9273b498f36f8
Added to database: 08/31/2026, 20:37:42 UTC
Last enriched: 09/07/2026, 12:55:25 UTC
Last updated: 10/15/2026, 18:48:24 UTC
Views: 95
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.