CVE-2026-41247: elFinder: Command injection in resize background color parameter when using ImageMagick CLI

Published Apr 23, 2026
·
Updated

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.

Affected Software

2 affected components
elFinder elFinder<2.1.67
std42 elFinder<2.1.67

Event History

Apr 23, 2026
CVE Published
via MITRE·06:47 PM
Data Sourced
via MITRE·06:47 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-41247?

CVE-2026-41247 is classified as a critical vulnerability due to its potential for command injection.

2

How do I fix CVE-2026-41247?

To fix CVE-2026-41247, you should upgrade elFinder to version 2.1.67 or later to mitigate the vulnerability.

3

Who is affected by CVE-2026-41247?

CVE-2026-41247 affects users running elFinder versions prior to 2.1.67.

4

What impact does CVE-2026-41247 have on my system?

CVE-2026-41247 can allow an attacker to execute arbitrary commands on the server via crafted input.

5

Is CVE-2026-41247 a zero-day vulnerability?

CVE-2026-41247 is not a zero-day vulnerability as it has been disclosed and patches are available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203