CVE-2026-81890: elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections

Published Aug 31, 2026
·
Updated

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.

Affected Software

1 affected component
elFinder elFinder<2.1.70

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade elFinder to a version that resolves this vulnerability.

    Fixed in 2.1.70
  2. Compensating control

    Disable FTP network mounts (FTP mounts are enabled by default in the shipped php/connector.minimal.php-dist configuration) so attacker-controlled netmount parameters cannot persist in the victim session or trigger server-side FTP connections.

Event History

Aug 31, 2026
CVE Published
via MITRE·08:29 PM
Data Sourced
via MITRE·08:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed by default?

The shipped php/connector.minimal.php-dist configuration enables FTP network mounts by default. Deployments using that configuration are exposed if they run a version earlier than 2.1.70.

2

What must an attacker do to exploit this issue?

An attacker needs to cause a victim to make a cross-site request to the vulnerable netmount operation; no X-elFinder-CSRF token is required. The request can supply the FTP protocol, host, port, path, credentials, alias, and options.

3

What is the practical impact of a successful exploit?

The attacker can create a persistent FTP mount in the victim's session and make the PHP server initiate an FTP connection to an attacker-selected host and port. Any credentials supplied in the request can be sent to that FTP server.

4

What can be done if an upgrade is not immediately possible?

Disable FTP network mounts where possible, since the vulnerable operation is the netmount command used for FTP mounts. Upgrade to elFinder 2.1.70 when available to restore CSRF validation for this state-changing operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203