CVE-2021-43421Std42 Elfinder
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Std42 · Std42 Elfinder We alert you by email or Slack (account required).
- Priority
- 78
- CVSS 3.1
- 9.8
- EPSS
- 41.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Apr 7, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A File Upload vulnerability exists in Studio-42 elFinder 2.0.4 to 2.1.59 via connector.minimal.php, which allows a remote malicious user to upload arbitrary files and execute PHP code.
What to do
- Apply the vendor's security update for Elfinder.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | studio-42/elfinder |
≥ 2.0.4 < 2.1.60 |
2.1.60 |
composer require "studio-42/elfinder:^2.1.60" |
Per OSV / GitHub Advisories (GHSA-x4jx-hjwf-gc99). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| std42 | elfinder | ≥ 2.0.4 ≤ 2.1.59 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- twitter.com Third Party Advisory