elFinder: Command injection in resize background color parameter when using ImageMagick CLI
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Studio-42 | elFinder | before 2.1.67 | 2.1.67 | Patch available | CNA |
| — | studio-42/elfinder (Packagist) | before 2.1.67 | 2.1.67 | Patch available | GHSA-8q4h-8crm-5cvc |
- elFinder VendorStudio-42 Affected before 2.1.67 Fixed in 2.1.67 Patch available CNA
- studio-42/elfinder (Packagist) Vendor— Affected before 2.1.67 Fixed in 2.1.67 Patch available GHSA-8q4h-8crm-5cvc
Remediation
- Fix · CNA elFinder (Studio-42) Fixed in 2.1.67
- Fix · GHSA-8q4h-8crm-5cvc studio-42/elfinder (Packagist) Fixed in 2.1.67 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41247
- 2026-10-03 Alias added: GHSA-8q4h-8crm-5cvc
References
More Studio-42 vulnerabilities
- TI-2026-56500 elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback CVSS 3.1HIGH 8.6
- TI-2026-56501 elFinder: CSRF in netmount allows forced FTP mounts and server-side FTP connections CVSS 3.1MEDIUM 5.4
- TI-2026-32450 elFinder: SQL Injection MySQL Volume Driver (elFinderVolumeMySQL) CVSS 3.1HIGH 8.8
- TI-2026-56502 elFinder: ZIP extraction bypasses uploadDeny MIME filter allowing PHP file upload (RCE) CVSS 3.1HIGH 8.1
Sources
- CVE-2026-41247 · CVE Program
- CVE-2026-41247 · NVD
- FIRST EPSS
- GHSA-8q4h-8crm-5cvc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences