{"answers":{"affected":"2 open source packages ship an affected version, including studio-42/elfinder.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81890 exists.","fix":"Upgrade studio-42/elfinder to 2.1.70 or later.","what":"CVE-2026-81890 is a medium-severity vulnerability in Studio-42 elFinder, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-81890 and fix it if it is affected.\n\nWhat it is: CVE-2026-81890 is a medium-severity vulnerability in Studio-42 elFinder, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81890 exists.\n\nAffected packages and fixed versions:\n- studio-42/elfinder (Packagist): affected all versions; fixed in 2.1.70\n- studio-42/elfinder (Packagist): affected all versions; fixed in 2.1.70\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-81890/ (Markdown: https://insights.sbomify.com/CVE-2026-81890/index.md)","id":"CVE-2026-81890","markdown":"https://insights.sbomify.com/CVE-2026-81890/index.md","name":"CVE-2026-81890","record":{"aliases":["GHSA-9hjf-w35w-6vx2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Web file manager","requires_auth":"none","summary":"Attackers can force victims to mount malicious FTP servers, causing the application to connect to attacker-controlled hosts and leak credentials.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections","id":"CVE-2026-81890","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","id":"CVE-2026-81891"},"packages":[{"ecosystem":"Packagist","fixed":["2.1.70"],"introduced":["0"],"last_affected":[],"package":"studio-42/elfinder","purl":null,"source":"GHSA-9hjf-w35w-6vx2"},{"ecosystem":"Packagist","fixed":["2.1.70"],"introduced":["0"],"last_affected":[],"package":"studio-42/elfinder","purl":"pkg:composer/studio-42/elfinder","source":"GHSA-9hjf-w35w-6vx2"}],"prev":{"headline":"elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback","id":"CVE-2026-81889"},"products":["elFinder"],"published":"2026-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["Studio-42"]},"summary":"Attackers can force victims to mount malicious FTP servers, causing the application to connect to attacker-controlled hosts and leak credentials.","url":"https://insights.sbomify.com/CVE-2026-81890/"}