CriticalGHSA-wph3-44rj-92prCVE-2021-32682

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:composer require studio-42/elfinder:^2.1.59

Details

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
All 17 advisories for studio-42/elfinder

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.