CVE-2026-41247Std42 Elfinder
High 8.9 No auth needed
Follow: this CVE · Std42 · Std42 Elfinder We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 4.0
- 8.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Elfinder.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | studio-42/elfinder |
< 2.1.67 |
2.1.67 |
composer require "studio-42/elfinder:^2.1.67" |
Per OSV / GitHub Advisories (GHSA-8q4h-8crm-5cvc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| std42 | elfinder | < 2.1.67 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory