7.1
HIGH CVSS 3.1
CVE-2026-48997
e107: Command Injection via shell expansion in ImageMagick resize destination path
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.

INFO

Published Date :

June 17, 2026, 10:16 p.m.

Last Modified :

June 23, 2026, 3:44 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-48997 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 E107 e107
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
Solution
Update e107 CMS to version 2.3.6 or later to fix command injection.
  • Update e107 CMS to version 2.3.6.
  • Apply vendor patches if updating is not possible.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-48997.

URL Resource
https://github.com/e107inc/e107/releases/tag/v2.3.6
https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42
https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-48997 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-48997 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-48997 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 18, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42
    Added SSVC {'id': 'CVE-2026-48997', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-18T13:05:40.518821Z'}
  • New CVE Received by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'e107inc', 'product': 'e107', 'versions': [{'status': 'affected', 'version': '< 2.3.6'}]}]
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
    Added CWE CWE-78
    Added Reference https://github.com/e107inc/e107/releases/tag/v2.3.6
    Added Reference https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.