mediumCVSS 5.4Vulnerability

CVE-2026-81890

### Summary The PHP connector's CSRF gate protects many mutating commands, but it does not protect the `netmount` connector command. In the shipped minimal connector setup, FTP network mounting is enabled by default, so a cross-site request can force an elFinder instance to mount an attacker-chosen FTP endpoint in the victim's session and cause the server to initiate an outbound FTP connection without the `X-elFinder-CSRF` token that other state-changing commands require. This was confirmed locally against `Studio-42/elFinder` at commit `ec5f811dc321a053085b994966f553eaaab58721`, corresponding to the repository's documented stable release `2.1.69` / API revision `2.1.69`. ### Details The connector has an explicit allowlist of commands that require CSRF validation in `php/elFinderConnector.class.php:79-92`. That list includes state-changing commands such as `mkdir`, `mkfile`, `paste`, `put`, `rename`, `rm`, `upload`, `archive`, `extract`, `resize`, and `chmod`, but it omits `netmount`. The enforcement point in `php/elFinderConnector.class.php:376-381` calls `validateCsrfToken()` only when the command appears in that list. `netmount` is a first-class connector command declared in `php/elFinder.class.php:248-278`, specifically `php/elFinder.class.php:263`, with attacker-controlled `protocol`, `host`, `path`, `port`, `user`, `pass`, `alias`, and `options` arguments. Its implementation in `php/elFinder.class.php:1560-1660` resolves the requested network driver, copies request arguments into a volume options array, calls the driver's `netmountPrepare()`, mounts the volume online, and persists successful network volume options in the session with `saveNetVolumes()` at `php/elFinder.class.php:1642-1649`. The documented minimal installation path tells users to rename `/php/connector.minimal.php-dist` and load elFinder (`README.md:105-120`). That shipped minimal connector explicitly enables FTP network mounts at `php/connector.minimal.php-dist:42-43`: ```php // // Enable

Properties

ghsa_id
GHSA-9hjf-w35w-6vx2
severity
medium
summary
elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections
cvss_score
5.4
cve_id
CVE-2026-81890
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
is_ghsa_only
false
ghsa_published
2026-09-02T14:37:36Z
source_url
https://github.com/advisories/GHSA-9hjf-w35w-6vx2
ghsa_updated
2026-09-02T14:37:37Z

Related Entities (4)

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]composer/studio-42/elfinder

AFFECTS (1)

[Software]composer/studio-42/elfinder

HAS_WEAKNESS (1)

[Weakness]Cross-Site Request Forgery (CSRF)

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-81890 (CVSS 5.4) — Ninja Signal Threat Intelligence | Ninja Signal