CVE Catalog

CVE-2026-81890

MediumCVSS 5.4
Published: Translated: NVD NIST

Summary

elFinder before version 2.1.70 does not protect the netmount command against CSRF attacks because it is not included in the list of protected commands. In the default configuration, FTP network mounts are enabled, and an attacker can control parameters such as protocol, host, port, user, password, allowing persistent mounting of an attacker-chosen FTP server in the victim's session and sending credentials without a CSRF token.

Risk Assessment

An attacker can use the victim's session to connect to a chosen FTP server, potentially leading to data leakage or using the server for further attacks.

Recommendation

Update elFinder to version 2.1.70 or later, which includes a fix adding CSRF validation for the netmount command.

Other vulnerabilities in elFinder

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS