elFinder before 2.1.59 contains multiple vulnerabilities leading to RCE
Published 16 Jun 2021 · Updated 8 Jul 2026
Is your project on an affected studio-42/elfinder?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <2.1.59
- Fixed in
- 2.1.59
composer require studio-42/elfinder:^2.1.59Details
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.
Is GHSA-wph3-44rj-92pr in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected studio-42/elfinder, and gives you the command that fixes it.
More advisories for studio-42/elfinder
- MediumCVE-2026-81890elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections · 2 Sept 2026
- HighCVE-2026-81889elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback · 31 Aug 2026
- HighCVE-2026-44521elFinder MySQL has a SQL Injection in its Volume Driver (elFinderVolumeMySQL) · 11 May 2026
- HighCVE-2026-41247elFinder: Command injection in resize background color parameter when using ImageMagick CLI · 17 Apr 2026
- HighCVE-2024-38909Studio 42 elFinder vulnerable to Incorrect Access Control · 30 Jul 2024
- HighCVE-2023-35840elFinder vulnerable to path traversal in LocalVolumeDriver connector · 14 Jun 2023
References
- Linkgithub.com/Studio-42/elFinder/security/advisories/GHSA-qm58-cvvm-c5qr
- Linkgithub.com/Studio-42/elFinder/security/advisories/GHSA-wph3-44rj-92pr
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-32682
- Linkgithub.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17
- Linkblog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities
- Packagegithub.com/Studio-42/elFinder
- Linkpacketstormsecurity.com/files/164173/elFinder-Archive-Command-Injection.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.