CVE-2026-41247 Details
Description
elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.67, elFinder contains a command injection vulnerability in the resize command. The bg (background color) parameter is accepted from user input and passed through image resize/rotate processing. In configurations that use the ImageMagick CLI backend, this value is incorporated into shell command strings without sufficient escaping. An attacker able to invoke the resize command with a crafted bg value may achieve arbitrary command execution as the web server process user. This vulnerability is fixed in 2.1.67.
A command injection vulnerability has been identified in elFinder versions prior to 2.1.67. The issue arises in the 'resize' command, where the 'bg' (background color) parameter is accepted from user input and passed through image processing with the ImageMagick CLI backend. This parameter is incorporated into shell command strings without adequate escaping, allowing an attacker to inject shell metacharacters and execute arbitrary commands as the web server process user.
Users are advised to upgrade to elFinder version 2.1.67 or later. For those unable to upgrade immediately, the 'resize' command can be disabled, the ImageMagick CLI backend can be avoided for image processing, and access can be restricted to trusted users only.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Studio-42/elFinder/security/advisories/GHSA-8q4h-8crm-5cvc | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| std42 elfinder | < 2.1.67 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 28, 2026 | Initial Analysis | [email protected] |
| Apr 23, 2026 | New CVE Received | [email protected] |