CVE-2026-48997: e107 - Command Injection
- Cve: CVE-2026-48997
- Name: e107 - Command Injection
- Description: e107 is a content management system (CMS). Versions 2.3.5 and earlier contain a command injection vulnerability in the ImageMagick resize destination path. In resize_image(), the source path is escaped with escapeshellarg(), but the destination path is inserted inside raw double quotes in the convert command; in the submit-news upload flow, that destination filename includes the first six characters of user-controlled news title input. Because the title filter removes literal spaces but not tab characters, and shell expansions such as $(...) and backticks can survive into the quoted destination argument, /bin/sh -c may evaluate attacker-controlled input. Exploitation is possible only when all of the following non-default settings are enabled: resize_method=ImageMagick, subnews_attach=1, upload_enabled=1, subnews_resize is numeric between 30 and 5000, and the attacker is a non-admin in classes permitted by both subnews_class and upload_class. This issue has been fixed in version 2.3.6.
- Impact: Non-admin attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Upgrade to version 2.3.6 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Non-admin attacker must have specific non-default settings enabled and belong to permitted classes
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
- Epss score: 0.00946
- Epss percentile: 0.62032
- Assignee: [email protected]
- Published at: 2026-06-17T22:16:23Z
- Age in days: 160
- Modified at: 2026-10-26T12:10:00Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48997
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/e107inc/e107/releases/tag/v2.3.6 | nvd | |
| https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| e107inc/e107 | fix, releases, security_advisory | yes | /v1/repositories/e107inc/e107 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts