← Vulnerability feed

Vulnerability record · CVE-2021-32682 · published 14 June 2021

CVE-2021-32682: elFinder PHP connector path traversal, command injection and SSRF

Std42 · Elfinder

Several vulnerabilities in elFinder 2.1.58 affect the PHP connector, combining path traversal, OS command injection and server-side request forgery. They allow arbitrary code and command execution on the host even with minimal configuration, and were patched in 2.1.59.

9.8 CVSS 3.1 Critical EPSS 70% · top 0.6% CWE-22 · Path traversalCWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 7.5
70%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. 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 minimal configuration. The issues were patched in version 2.1.59. As a workaround, ensure the connector is not exposed without authentication.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or interaction required and public exploit references make this a high-urgency remote code execution risk.

What it is

Several vulnerabilities in elFinder 2.1.58 affect the PHP connector, combining path traversal, OS command injection and server-side request forgery. They allow arbitrary code and command execution on the host even with minimal configuration, and were patched in 2.1.59.

Impact

An attacker can execute arbitrary code and operating system commands on the server running the elFinder PHP connector, leading to full compromise of that host.

Attack surface

Reached over the network through the exposed elFinder PHP connector; the CVSS vector indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.699, 99.3rd percentile) and multiple references are tagged Exploit, indicating public exploit material exists.

What to do

  • Upgrade elFinder to version 2.1.59 or later, which contains the patch.
  • If immediate upgrade is not possible, ensure the connector is not exposed without authentication as the advisory workaround states.
  • Restrict network access to the elFinder connector to trusted users and networks.
  • Run the PHP connector with least privilege and disable unnecessary archive or command-execution features where possible.

Detection

  • Monitor web server and PHP logs for requests to elFinder connector endpoints containing traversal sequences or archive/command parameters.
  • Alert on unexpected child processes spawned by the web server or PHP process.
  • Watch for outbound connections from the web server to unusual internal or external hosts that could indicate SSRF.
  • Audit file system changes in elFinder-managed directories for unexpected writes or uploads.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

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

References

Track CVE-2021-32682 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-23394Std42 elfinder unrestricted file upload vulnerabilityThe 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…EPSS 19%9.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-32682), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.