CVE-2026-41247: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Studio-42 elFinder
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.
AI Analysis
Technical Summary
elFinder, an open-source web file manager, has a command injection vulnerability (CWE-78) in versions before 2.1.67. The vulnerability exists in the resize command where the bg parameter is incorporated into shell command strings used by the ImageMagick CLI backend without sufficient sanitization. This improper neutralization of special elements allows attackers to execute arbitrary OS commands with the privileges of the web server process. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity. The issue is resolved in elFinder version 2.1.67.
Potential Impact
Successful exploitation allows arbitrary command execution on the server with the privileges of the web server process. This can lead to full compromise of the affected system, data theft, or further attacks within the environment. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade elFinder to version 2.1.67 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is included in version 2.1.67, so updating to this version is the recommended action.
CVE-2026-41247: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Studio-42 elFinder
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.
CVSS v4.0
Score 8.9high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
elFinder, an open-source web file manager, has a command injection vulnerability (CWE-78) in versions before 2.1.67. The vulnerability exists in the resize command where the bg parameter is incorporated into shell command strings used by the ImageMagick CLI backend without sufficient sanitization. This improper neutralization of special elements allows attackers to execute arbitrary OS commands with the privileges of the web server process. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity. The issue is resolved in elFinder version 2.1.67.
Potential Impact
Successful exploitation allows arbitrary command execution on the server with the privileges of the web server process. This can lead to full compromise of the affected system, data theft, or further attacks within the environment. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade elFinder to version 2.1.67 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is included in version 2.1.67, so updating to this version is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-18T03:47:03.135Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ea9e7887115cfb686fc3aa
Added to database: 4/23/2026, 10:34:32 PM
Last enriched: 5/1/2026, 8:40:22 PM
Last updated: 6/7/2026, 8:04:37 AM
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.