Skip to content
Medium 5.4

Cross-Site Request Forgery (CSRF) in studio-42/elfinder

CVE-2026-81890 First seen on SecPulse

Summary

Vulnerability in studio-42/elfinder (CVE-2026-81890). Risk of unauthorized operations or information disclosure. Exploitable via netmount. Mitigation: upgrade to 2.1.70 or later.

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-81890 has been found in studio-42/elfinder.
Attackers can target a specific entry point like netmount over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.4/10.
What to do: upgrade studio-42/elfinder to 2.1.70 or later.
If unsure, ask your IT team or search "studio-42/elfinder CVE-2026-81890" on the vendor's site.

CVE-2026-81890 (studio-42/elfinder) — CWE-352 / CVSS v3 5.4
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: netmount / ec5f811dc321a053085b994966f553eaaab58721 / mkdir / mkfile
Patched: 2.1.70 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

CSRF (CWE-352) exists in studio-42/elfinder. Attackers reach the vulnerable code path via netmount without authentication.

Affected scope

Check the vendor advisory for the affected versions of studio-42/elfinder. Attack surface: netmount / ec5f811dc321a053085b994966f553eaaab58721 / mkdir / mkfile.

Severity

Severity: Medium (CVSS 5.4/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 2.1.70.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'studio-42/elfinder' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'studio-42/elfinder' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で studio-42/elfinder を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade studio-42/elfinder to 2.1.70

    ステージング環境で 2.1.70 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
composerstudio-42/elfinder
< 2.1.70→ 2.1.70
Packagiststudio-42/elfinder
< 2.1.70→ 2.1.70
Original description The description as published by the 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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details