What’s Vulnerable › Vulnerabilities
CVE-2026-41247: elFinder: Command injection in resize background color parameter when using ImageMagick CLI
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-23 · updated 2026-10-26
- Weakness: CWE-78
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.
Affected products
- Studio-42 elFinder: before 2.1.67 — fixed in 2.1.67
How to fix
Upgrade to a fixed version: Studio-42 elFinder 2.1.67. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-41247 or the next vulnerability affects your stack