CVE-2021-23394 in the critical feed json
Remote Code Execution (RCE)
published 2021-06-13 5 y ago modified 2026-07-08 4 mo ago also GHSA-qm58-cvvm-c5qr , EUVD-2021-1383
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 18.9%
- EPSS 18.9% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist studio-42/elfinder 2.1.58
- n/a studio-42/elfinder 2.1.58
Exploit prediction
18.93% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template elFinder < 2.1.58 - Remote Code Execution nuclei detection template
- github.com https://github.com/Studio-42/elFinder/issues/3295 referenced PoC, tagged "exploit" by a source, unverified
- blog.sonarsource.com https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | studio-42/elfinder | <2.1.58 |
2.1.58 |
Affected products
- n/a studio-42/elfinder
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1
web, patch, third-party-advisory
-
github.com
/Studio-42/elFinder/issues/3295
web, exploit, issue-tracking, patch, third-party-advisory
-
blog.sonarsource.com
/elfinder-case-study-of-web-file-manager-vulnerabilities/
exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554
web, third-party-advisory
-
github.com
/Studio-42/elFinder
package, third-party-advisory
-
github.com
/Studio-42/elFinder/security/advisories/GHSA-qm58-cvvm-c5qr
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-23394
advisory
-
blog.sonarsource.com
/elfinder-case-study-of-web-file-manager-vulnerabilities
web
Sources
- CVE List CVE-2021-23394
- GitHub Advisory GHSA-qm58-cvvm-c5qr
- NVD CVE-2021-23394
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.