CVE-2026-41247

elFinder: Command injection in resize background color parameter when using ImageMagick CLI

Published Apr 23, 2026 CVSS 4.0 · 8.9 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8q4h-8crm-5cvc elFinder: Command injection in resize background color parameter when using ImageMagick CLI
History
Type Values Removed Values Added
First Time appeared Std42
Std42 elfinder
CPEs cpe:2.3:a:std42:elfinder:*:*:*:*:*:*:*:*
Vendors & Products Std42
Std42 elfinder
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Studio42
Studio42 elfinder
Vendors & Products Studio42
Studio42 elfinder
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title elFinder: Command injection in resize background color parameter when using ImageMagick CLI
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 25, 2026, 1:25 AM
Reserved
Apr 18, 2026, 3:47 AM
Status
Analyzed
Published
Apr 23, 2026, 7:17 PM
Modified
Oct 26, 2026, 9:10 PM