CVE-2026-41247CWE-78

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

High · published April 23, 2026

CVSS v4.0
8.9
EPSS
3%
Percentile
85.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.9 · HIGH
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
EPSS
0.02653 · 85.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-23T18:47Z
EPSS history
Timeline
  • 23 APR 18:47Z
    elFinder: Command injection in resize background color parameter when using ImageMagick CLI
    cvelistv5