CVE-2026-41247: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Studio-42 elFinder
elFinder versions prior to 2. 1. 67 contain a command injection vulnerability in the resize command. The vulnerability arises because the bg (background color) parameter is passed to ImageMagick CLI commands without proper escaping, allowing an attacker to execute arbitrary OS commands as the web server user. This issue is fixed in version 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 occurs in the resize command where the bg parameter, used for background color, is incorporated into shell command strings for ImageMagick CLI without sufficient sanitization. This allows an unauthenticated attacker who can invoke the resize command to execute arbitrary commands on the server 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 remote attackers to execute arbitrary OS commands on the affected server with the privileges of the web server process. This can lead to full system compromise depending on the server configuration and privileges of the web server user.
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 stated but the fix is included in version 2.1.67.
CVE-2026-41247: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Studio-42 elFinder
Description
elFinder versions prior to 2. 1. 67 contain a command injection vulnerability in the resize command. The vulnerability arises because the bg (background color) parameter is passed to ImageMagick CLI commands without proper escaping, allowing an attacker to execute arbitrary OS commands as the web server user. This issue is fixed in version 2. 1. 67.
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 occurs in the resize command where the bg parameter, used for background color, is incorporated into shell command strings for ImageMagick CLI without sufficient sanitization. This allows an unauthenticated attacker who can invoke the resize command to execute arbitrary commands on the server 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 remote attackers to execute arbitrary OS commands on the affected server with the privileges of the web server process. This can lead to full system compromise depending on the server configuration and privileges of the web server user.
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 stated but the fix is included in version 2.1.67.
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: 4/23/2026, 11:21:33 PM
Last updated: 4/24/2026, 6:08:33 AM
Views: 4
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.