{"id":"CVE-2026-41247","published":"2026-04-23T18:47:57Z","modified":"2026-04-25T01:25:26Z","title":"elFinder: Command injection in resize background color parameter when using ImageMagick CLI","vendor":"Studio-42","product":"elFinder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0163,"percentile":0.76816,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-8q4h-8crm-5cvc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":15.36},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"studio-42","affectedVersions":[{"vendor":"Studio-42","product":"elFinder","versions":["< 2.1.67"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-25T01:25:15.260707Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"studio-42/elfinder","vulnerableRanges":["<2.1.67"],"patched":["2.1.67"],"from":["GHSA-8q4h-8crm-5cvc"],"provenance":"source"}],"summary":{"text":"elFinder, an open-source JavaScript file manager for the web, contains an OS command injection flaw in its resize command, where the user-supplied bg (background color) parameter is passed unescaped into shell command strings when the ImageMagick CLI backend is used. An attacker who can invoke the resize command with a crafted bg value can execute arbitrary commands as the web server process user, and no authentication or user interaction is required when the command is reachable over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:21Z"},"euvd":{"id":"EUVD-2026-25281","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-26960","published":"2022-03-21","fixed":"2.1.61","kev":false},{"cve":"CVE-2022-27115","published":"2022-04-11","fixed":"2.1.61","kev":false},{"cve":"CVE-2023-35840","published":"2023-06-19","fixed":"2.1.62","kev":false},{"cve":"CVE-2026-41247","published":"2026-04-23","fixed":"2.1.67","kev":false},{"cve":"CVE-2026-44521","published":"2026-05-27","fixed":"2.1.68","kev":false,"link":{"from":"CVE-2026-41247","to":"CVE-2026-44521","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:studio-42/elfinder","fromFixed":"2.1.67","toFixed":"2.1.68","daysApart":34}]}},{"cve":"CVE-2026-81889","published":"2026-08-31","fixed":"2.1.70","kev":false},{"cve":"CVE-2026-81890","published":"2026-08-31","fixed":"2.1.70","kev":false}],"package":"Packagist:studio-42/elfinder"}}