Command Injection Vulnerability in elFinder Web File Manager by Studio 42
CVE-2026-41247
8.9HIGH
What is CVE-2026-41247?
elFinder, a popular open-source web-based file manager, prior to version 2.1.67, is susceptible to a command injection vulnerability through its resize command. The vulnerability arises from the handling of the 'bg' (background color) parameter, which is passed to shell command strings without proper escaping when using the ImageMagick CLI backend. Malicious actors could exploit this flaw by providing crafted input, potentially leading to arbitrary command execution under the privileges of the web server process. Users are urged to update to version 2.1.67 or higher to mitigate this risk.
Affected Version(s)
elFinder < 2.1.67
