High severity · published Jun 17, 2026
CVE-2026-48997
e107: Command Injection via shell expansion in ImageMagick resize destination path
7.1
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
E1
e107 · e107inc
< 2.3.6 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-48997
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-48997
github.com
https://github.com/e107inc/e107/releases/tag/v2.3.6
github.com
https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42
More from e107
10.0
CVE-2026-55572
e107: SQL injection in alt_auth plugin (otherdb / e107db backends) via login username
9.8
CVE-2026-55573
e107: Unsafe deserialization in install.php allows unauthenticated RCE via POP chain
8.1
CVE-2026-43935
e107: Host Header Injection in e107 password reset enables phishing
7.5
CVE-2026-57859
e107 Second-Order Code Execution via eval()-Based Deserialization in e_array::unserialize()
6.5
CVE-2026-46620
e107: CSRF in comment.php moderation endpoints via token-optional validation in session_handler::check()
