{"answers":{"affected":"2 open source packages ship an affected version, including Studio-42/elFinder.","exploited":"There is no known exploitation of CVE-2026-81891 in the wild and no public exploit code.","fix":"Upgrade Studio-42/elFinder to 2.1.70 or later.","what":"CVE-2026-81891 is a high-severity vulnerability in Studio-42 elFinder, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-81891 and fix it if it is affected.\n\nWhat it is: CVE-2026-81891 is a high-severity vulnerability in Studio-42 elFinder, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-81891 in the wild and no public exploit code.\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-81891/ (Markdown: https://insights.sbomify.com/CVE-2026-81891/index.md)","id":"CVE-2026-81891","markdown":"https://insights.sbomify.com/CVE-2026-81891/index.md","name":"CVE-2026-81891","record":{"aliases":["GHSA-gxmj-r5rf-ggwq"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Web file manager","requires_auth":"none","summary":"Attackers can bypass MIME filters to upload and execute PHP files via ZIP extraction, leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, checkExtractItems() in php/elFinderVolumeDriver.class.php calls mimetypeInternalDetect() without passing the result through mimeTypeNormalize(). Because the .phtml, .phar, .php5, and .php3 extensions are absent from mime.types, the staticMimeMap entries that map them to text/x-php are not applied, and allowPutMime() permits extraction even when uploadDeny blocks text/x-php. An attacker with ZIP upload permission can extract PHP-executable files into a web-accessible files/ directory and achieve remote code execution when the server executes those extensions. 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":"none_known"},"has_fix":true,"headline":"elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE)","id":"CVE-2026-81891","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"EasyAdmin custom-action dispatcher bypasses access_control on other routes","id":"CVE-2026-81892"},"packages":[{"ecosystem":"Packagist","fixed":["2.1.70"],"introduced":["0"],"last_affected":[],"package":"Studio-42/elFinder","purl":null,"source":"GHSA-gxmj-r5rf-ggwq"},{"ecosystem":"Packagist","fixed":["2.1.70"],"introduced":["0"],"last_affected":[],"package":"Studio-42/elFinder","purl":"pkg:composer/Studio-42/elFinder","source":"GHSA-gxmj-r5rf-ggwq"}],"prev":{"headline":"elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections","id":"CVE-2026-81890"},"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["Studio-42"]},"summary":"Attackers can bypass MIME filters to upload and execute PHP files via ZIP extraction, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2026-81891/"}