CVE-2021-23394

CVE-2021-23394 is a high-severity vulnerability in Std42 Elfinder with a CVSS 3.x base score of 8.1. Its EPSS exploit-prediction score of 19% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-434.

Key facts

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.

Frequently asked questions

What is CVE-2021-23394?
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.
How severe is CVE-2021-23394?
CVE-2021-23394 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2021-23394 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 19% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-23394?
CVE-2021-23394 affects Std42 Elfinder. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2021-23394?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2021-23394 published?
CVE-2021-23394 was published on 2021-06-13 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Std42 Elfinder

All CVEs affecting Std42 Elfinder →

Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities

Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →