Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 49%

CVE-2026-48997: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in e107inc e107

0
High
VulnerabilityCVE-2026-48997cvecve-2026-48997cwe-78
Published: 06/17/2026 (06/17/2026, 21:42:59 UTC)
Source: CVE Database V5
Vendor/Project: e107inc
Product: e107

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 v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
e107inc/e107
pkg:github/e107inc/e107
Affected versions
<=2.3.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/17/2026, 22:05:32 UTC

Technical Analysis

The e107 content management system (CMS) versions 2.3.5 and earlier contain an OS command injection vulnerability (CWE-78) in the ImageMagick resize functionality. Specifically, in the resize_image() function, the source path is escaped properly, but the destination path is inserted inside raw double quotes in the convert command. The destination filename includes the first six characters of user-controlled news title input, which can contain tab characters and shell expansions like $(...) or backticks that survive the quoting. This allows /bin/sh -c to evaluate attacker-controlled input, leading to command injection. Exploitation is only possible when multiple non-default settings are enabled (resize_method=ImageMagick, subnews_attach=1, upload_enabled=1, subnews_resize numeric between 30 and 5000) and the attacker is a non-admin user permitted by subnews_class and upload_class. The vulnerability is fixed in version 2.3.6.

Potential Impact

Successful exploitation can lead to arbitrary command execution on the server with the privileges of the web application process. The CVSS 3.1 score is 7.1 (high), reflecting low attack complexity but requiring specific configuration and privileges. The impact includes potential confidentiality loss, integrity compromise, and availability disruption due to command injection.

Mitigation Recommendations

Upgrade to e107 version 2.3.6 or later, where this vulnerability is fixed. There is no official patch or temporary fix mentioned other than upgrading. Until upgraded, ensure the vulnerable configuration settings (resize_method=ImageMagick, subnews_attach=1, upload_enabled=1, subnews_resize between 30 and 5000) are not all enabled simultaneously, or restrict non-admin user permissions to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-26T23:26:07.976Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a33168ef198dc38c1148dc0

Added to database: 06/17/2026, 21:50:06 UTC

Last enriched: 06/17/2026, 22:05:32 UTC

Last updated: 08/02/2026, 07:17:57 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses