Description
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.
Published: 2026-08-31
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a CSRF flaw in elFinder’s netmount command, which was omitted from the list of CSRF‑protected operations before version 2.1.70. An attacker can issue a forged request from any third‑party domain that forces the PHP server to establish an outgoing FTP connection to a host chosen by the attacker, using attacker‑supplied credentials. The resulting server‑side FTP session can be used to read, write, or delete files on the target server, and if the remote FTP host returns scripts or executable payloads, this could lead to remote code execution or other malicious actions. By persisting this mount in an authenticated user session, the attacker can repeatedly access privileged file system locations without needing to authenticate again.

Affected Systems

All installations of Studio‑42’s elFinder file manager running versions earlier than 2.1.70 are affected. The issue manifests when the default minimal configuration that enables FTP network mounts is used, as the FTP parameters are passed directly to elFinder::netmount() and subsequently to the FTP volume class. Users should verify the exact version deployed and confirm that the 2.1.70 or later release is in use.

Risk and Exploitability

The CVSS score of 5.4 places this vulnerability in the moderate range. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by creating a cross‑site request from an arbitrary domain that targets a victim who is logged into the elFinder web interface. Because the flaw is a CSRF issue, the attacker does not need direct access to the victim machine; it merely needs the victim to be an authenticated user in a browser session. Once the forged request is processed, the PHP backend initiates an outbound FTP connection to a host selected by the attacker. The lack of CSRF token enforcement is the primary weakness (CWE‑352).

Generated by OpenCVE AI on August 31, 2026 at 21:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied update to version 2.1.70 or later, which restores CSRF protection for the netmount command.
  • If an immediate update is not possible, edit the elFinderConnector configuration to remove or whitelist the netmount command by adjusting the $csrfProtectedCmds array or disabling the FTP volume class entirely for users who do not require FTP mounts.
  • Restrict outbound network connections from the web server, or enforce network policies so that only trusted FTP hosts can be reached via the elFinder backend.

Generated by OpenCVE AI on August 31, 2026 at 21:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections
Weaknesses CWE-352
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T20:29:43.695Z

Reserved: 2026-08-27T17:48:42.123Z

Link: CVE-2026-81890

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T21:17:52.603

Modified: 2026-08-31T21:17:52.603

Link: CVE-2026-81890

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:45:04Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)