Skip to main content

elFinder CVE-2026-81890

| EUVDEUVD-2026-68772 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-08-31 GitHub_M GHSA-9hjf-w35w-6vx2
5.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim authenticates to elFinder instance
  2. Delivery
    Attacker crafts page with auto-submitting netmount CSRF payload
  3. Exploit
    Victim visits attacker-controlled page
  4. Execution
    Browser sends netmount request with attacker's FTP parameters and victim's session cookie
  5. Persist
    CSRF check skipped; PHP server connects outbound to attacker-controlled FTP host
  6. Impact
    Malicious FTP mount persisted in victim's session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must have an active authenticated session to an elFinder instance and must visit a page under the attacker's control while that session is live - the standard CSRF precondition. The elFinder deployment must use the default connector.minimal.php-dist configuration with FTP network mounts enabled; if FTP mounts have been explicitly disabled or the connector is customized to exclude elFinderVolumeFTP, the SSRF component is not reachable. Exploitation is limited to pre-2.1.70 versions; the attacker requires no account or privileges on the elFinder instance itself. Deployments that have removed netmount support entirely from their connector are not exploitable via this path.

Impact

The CVSS 5.4 Medium score reflects the CSRF pattern accurately: network-reachable, low complexity, no attacker privileges, but gated on victim interaction and delivering only partial impact. The real-world risk is moderately elevated beyond what the raw score conveys, for two reasons. First, the unauthorized FTP mount persists in the victim's PHP session, meaning subsequent file-manager operations by the victim can traverse the attacker-controlled mount point. Second, the server-side FTP connection to an attacker-chosen host and port constitutes an SSRF primitive - the PHP server probes internal or external endpoints on the attacker's behalf, potentially exposing internal network topology or bypassing perimeter controls. No EPSS data was supplied, so exploitation probability cannot be quantified; the vulnerability is not in CISA KEV, confirming no known active exploitation at time of analysis. Deployments that have disabled FTP mounts in their connector configuration are not exposed to the SSRF component, which significantly reduces risk for those environments.

Exploit ScenarioDerived

An attacker hosts a web page containing an auto-submitting form or fetch() call targeting the victim's elFinder connector with a netmount command specifying an attacker-controlled FTP server (e.g., ftp://attacker.example:2121). When an authenticated elFinder user visits the page, their browser sends the request with valid session cookies but no CSRF token, which the server accepts; the PHP process then initiates an FTP connection to the attacker's host, and the malicious mount is persisted in the victim's session for further file-system manipulation. No public proof-of-concept exploit has been identified, but the attack is straightforward to implement given the public advisory and commit diff.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

CSRF protection is absent for the netmount command in elFinder prior to 2.1.70, allowing a cross-site request from an attacker-controlled page to mount an attacker-chosen FTP server into an authenticated victim's session without a valid X-elFinder-CSRF token. Because the default connector.minimal.php-dist configuration enables FTP mounts and passes fully attacker-controlled parameters - host, port, credentials, path - directly to elFinderVolumeFTP, this also creates a server-side request forgery primitive: the PHP process itself initiates a TCP connection to the attacker-specified host and port. A vendor-confirmed patch is available in version 2.1.70; no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to elFinder 2.1.70 or later, available at https://github.com/Studio-42/elFinder/releases/tag/2.1.70; this release enforces CSRF token validation on the netmount command by adding it to $csrfProtectedCmds, directly eliminating the vulnerability. For deployments that cannot immediately upgrade, disable FTP network mount support in the connector configuration by removing FTP from the list of permitted volume drivers - this removes the SSRF and credential-relay attack surface, though the underlying CSRF gap in netmount persists for any remaining enabled network mount driver until the patch is applied. As a secondary compensating control, restrict access to the elFinder connector endpoint at the web server or WAF layer to known-authenticated, same-origin sessions only; note this provides weaker protection than patching and may impact legitimate use cases if elFinder is accessed cross-origin.

Affected VersionsENISA

elFinder < 2.1.70

Affected Packages

composer studio-42/elfinder fix: 2.1.70
euvd elfinder fix: 2.1.70

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

elFinder (cpe:2.3:a:studio-42:elfinder) is an open-source PHP/JavaScript file manager. The root cause is CWE-352 (Cross-Site Request Forgery): the static array elFinderConnector::$csrfProtectedCmds in php/elFinderConnector.class.php enumerates which commands require a valid CSRF token before execution. The netmount command - which mounts external file systems including FTP - was missing from this array, so validateCsrfToken() was never invoked for it. The shipped connector.minimal.php-dist enables FTP by default; parameters including protocol, host, port, user, pass, path, alias, and options flow without sanitization from the HTTP request body through elFinder::netmount() in php/elFinder.class.php into php/elFinderVolumeFTP.class.php, where the PHP FTP extension opens the outbound connection. The fix (commit 31284facd033e081b2b69c08873b39c8a413b762) adds 'netmount' => true to $csrfProtectedCmds, and a second commit (36d40fff) addresses related hardening.

Know when Elfinder gets its next vulnerability

  • 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

Vendor (GitHub_M) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

CSRF requires victim to visit attacker's page (UI:R); attacker needs no account (PR:N); C:L for server-side connection telemetry leakage, I:L for unauthorized persistent mount.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 31, 2026 - 22:18 EUVD

DescriptionCVE.org

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, the netmount command is omitted from elFinderConnector::$csrfProtectedCmds in php/elFinderConnector.class.php, so validateCsrfToken() is not called for this state-changing operation. In the shipped php/connector.minimal.php-dist configuration, FTP network mounts are enabled by default, and attacker-controlled protocol, host, path, port, user, pass, alias, and options arguments flow through elFinder::netmount() in php/elFinder.class.php to php/elFinderVolumeFTP.class.php. A cross-site request can therefore persist an attacker-chosen FTP mount in the victim's session, cause the PHP server to connect to an attacker-chosen FTP host and port, and send supplied credentials without an X-elFinder-CSRF token. This issue is fixed in version 2.1.70.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
widely used open-source PHP web file manager, common in CMS and portal deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2021-32682 CRITICAL POC
9.8 Jun 14

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Rated critical severity (CVSS 9.

CVE-2019-9194 CRITICAL POC
9.8 Feb 26

elFinder before 2.1.48 has a command injection vulnerability in the PHP connector. Rated critical severity (CVSS 9.8), t

CVE-2022-27115 CRITICAL POC
9.8 Apr 11

In Studio-42 elFinder 2.1.60, there is a vulnerability that causes remote code execution through file name bypass for fi

CVE-2021-23394 CRITICAL POC
9.8 Jun 13

The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in

CVE-2022-26960 CRITICAL POC
9.1 Mar 21

connector.minimal.php in std42 elFinder through 2.1.60 is affected by path traversal. Rated critical severity (CVSS 9.1)

CVE-2026-81889 HIGH POC
8.6 Aug 31

SSRF protection bypass in elFinder's URL upload feature allows remote attackers to reach internal HTTP services by explo

CVE-2026-81891 HIGH POC
8.1 Aug 31

Remote code execution in elFinder prior to 2.1.70 allows an authenticated user with ZIP upload permission to bypass the

CVE-2023-35840 MEDIUM POC
6.5 Jun 19

_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVol

CVE-2024-38909 CRITICAL
9.8 Jul 30

Studio 42 elFinder 2.1.64 is vulnerable to Incorrect Access Control. Rated critical severity (CVSS 9.8), this vulnerabil

CVE-2018-9110 CRITICAL
9.1 Mar 28

Studio 42 elFinder before 2.1.37 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function

CVE-2018-9109 CRITICAL
9.1 Mar 28

Studio 42 elFinder before 2.1.36 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function

CVE-2026-41247 HIGH
8.9 Apr 23

Command injection in elFinder before 2.1.67 lets attackers reach OS command execution as the web server user through the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy