CVE-2026-41247

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductStd42 Elfinder
PublishedApr 23, 2026
First seenApr 23, 2026

How to fix

Update
  • std42 elfinder2.1.67 or later
  • studio-42/elfinder2.1.67 or later

Affected products

ProductAffected versionsFixed in
std42 elfinderv < 2.1.672.1.67
studio-42/elfinderPackagistv < 2.1.672.1.67

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.