← Vulnerability feed

Vulnerability record · CVE-2021-23394 · published 13 June 2021

CVE-2021-23394: Std42 elfinder unrestricted file upload vulnerability

Std42 · Elfinder

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.

9.8 CVSS 3.1 Critical EPSS 19% · top 2.8% CWE-434 · Unrestricted file upload
9.8CVSS 3.1 base score, v2 6.8
19%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-23394 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-52044Std42 elfinder unrestricted file upload vulnerabilityStudio-42 eLfinder 2.1.62 is vulnerable to Remote Code Execution (RCE) as there is no restriction for uploading files with the .php8 extension.EPSS 0.79%9.8CVE-2024-38909Std42 elfinder improper access control vulnerabilityStudio 42 elFinder 2.1.64 is vulnerable to Incorrect Access Control. Copying files with an unauthorized extension between server directories allows a…EPSS 0.48%9.8CVE-2022-27115Std42 elfinder unrestricted file upload vulnerabilityIn Studio-42 elFinder 2.1.60, there is a vulnerability that causes remote code execution through file name bypass for file upload.EPSS 29%9.8CVE-2021-43421Std42 elfinder unrestricted file upload vulnerabilityA 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 ar…EPSS 43%9.8CVE-2021-32682elFinder PHP connector path traversal, command injection and SSRFSeveral vulnerabilities in elFinder 2.1.58 affect the PHP connector, combining path traversal, OS command injection and server-side request forgery. …EPSS 70%analysed9.8CVE-2019-9194elFinder PHP connector command injection before 2.1.48elFinder before 2.1.48 contains an OS command injection flaw in its PHP connector (CWE-78). The vulnerability is remotely reachable without authentic…EPSS 97%analysed9.1CVE-2022-26960elFinder path traversal in connector.minimal.php allows file access outside rootconnector.minimal.php in std42 elFinder through 2.1.60 mishandles absolute file paths, enabling path traversal. Unauthenticated remote attackers can …EPSS 51%analysed9.1CVE-2018-9110Std42 elfinder path traversal vulnerabilityStudio 42 elFinder before 2.1.37 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a remote atta…EPSS 2.9%

Source: NIST National Vulnerability Database (record CVE-2021-23394), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.