CVE-2026-41247: elFinder - Command Injection
- Cve: CVE-2026-41247
- Name: elFinder - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands as the web server user, potentially leading to full server compromise.
- Remediation: Upgrade to version 2.1.67 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0163
- Epss percentile: 0.76854
- Assignee: [email protected]
- Published at: 2026-04-23T19:17:29Z
- Age in days: 215
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41247
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Studio-42/elFinder/security/advisories/GHSA-8q4h-8crm-5cvc | nvd | Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| std42:elfinder | < 2.1.67 | no | nvd | /v1/products/std42/elfinder |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Studio-42/elFinder | package, security_advisory | yes | /v1/repositories/Studio-42/elFinder |
Index
- Repositories: 2
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 344
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since