elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE
Impact
We recently fixed several vulnerabilities affect elFinder 2.1.58. These vulnerabilities can allow an attacker to execute arbitrary code and commands on the server hosting the elFinder PHP connector, even with the minimal configuration.
Patches
The issues were addressed in our last release, 2.1.59.
Workarounds
If you can't update to 2.1.59, make sure your connector is not exposed without authentication.
Reference
Further technical details will be disclosed on https://blog.sonarsource.com/tag/security after some time.
For more information
If you have any questions or comments about this advisory, you can contact: - The original reporters, by sending an email to vulnerability.research@sonarsource.com; - The maintainers, by opening an issue on this repository.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | studio-42/elfinder | < 2.1.59 | 2.1.59 |
References
- https://github.com/Studio-42/elFinder/security/advisories/GHSA-qm58-cvvm-c5qr
- https://github.com/Studio-42/elFinder/security/advisories/GHSA-wph3-44rj-92pr
- https://nvd.nist.gov/vuln/detail/CVE-2021-32682
- https://github.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17
- https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities
- https://github.com/Studio-42/elFinder
- http://packetstormsecurity.com/files/164173/elFinder-Archive-Command-Injection.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-22, CWE-78, CWE-918- Platform
- Composer
- Package
studio-42/elfinder- Disclosed
- 16.06.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wph3-44rj-92pr - CC BY 4.0
Vulnerability history: studio-42/elfinder
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 18
- First → latest
- 06.2021 09.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 7
- High 8
- Medium 3
Disclosures per year
- 2021: 2
- 2022: 9
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 5
-
elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.