{"id":"CVE-2021-23394","aliases":["GHSA-qm58-cvvm-c5qr","SNYK-PHP-STUDIO42ELFINDER-1290554"],"url":"https://o3.security/vulnerability/CVE-2021-23394","summary":"elFinder unsafe upload filtering leading to remote code execution","details":"The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. NOTE: This only applies if the server parses .phar files as PHP.","published":"2021-06-13T11:15:14.290Z","modified":"2026-08-07T15:13:50.431861Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"studio-42/elfinder","fixedVersion":"2.1.58"}],"fix":{"url":"https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1","label":"Studio-42/elFinder@75ea92d"},"references":[{"type":"ADVISORY","url":"https://github.com/Studio-42/elFinder"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554"},{"type":"FIX","url":"https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1"},{"type":"FIX","url":"https://github.com/Studio-42/elFinder/issues/3295"},{"type":"EVIDENCE","url":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:13:50.431861Z"}}