CVE-2026-48997
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditede107 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencee107 CMS versions 2.3.5 and earlier contain a command injection vulnerability in the ImageMagick resize function. The destination path in resize_image() is inserted into raw double quotes without escaping, while only the source path uses escapeshellarg(). In the submit-news upload flow, the destination filename incorporates the first six characters of user-controlled news title input. Since the title filter removes spaces but not tabs, shell expansions like $(...) and backticks survive and are evaluated by /bin/sh -c.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify e107 CMS versionLocate the version file or check the admin dashboard for the installed e107 version. Common locations include e107_admin/system.php or a version constant in e107.php.Affected if Version is 2.3.5 or earlier
-
Verify ImageMagick is configured as resize methodCheck the e107 configuration database or config file for the 'resize_method' setting. This is typically found in the e107_config table or e107.php configuration file.Affected if resize_method is set to ' imagemick' or 'ImageMagick' (case-insensitive)
-
Confirm subnews_attach is enabledCheck the e107 configuration for the 'subnews_attach' setting, typically in e107_config table or through the admin interface under news settings.Affected if subnews_attach is set to 1 or enabled
-
Confirm upload functionality is enabledCheck the e107 configuration for the 'upload_enabled' setting, typically in the file upload or news attachment settings in the admin panel.Affected if upload_enabled is set to 1 or enabled
-
Verify subnews_resize has a numeric valueCheck the 'subnews_resize' configuration setting in e107_config or news settings. This should be set to a numeric value (pixel width) for the vulnerability to trigger.Affected if subnews_resize is set to a numeric value (greater than 0)
A user is affected if they are running e107 CMS version 2.3.5 or earlier with ImageMagick enabled as resize_method AND all three conditions (subnews_attach=1, upload_enabled=1, numeric subnews_resize) are simultaneously configured.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to e107 version 2.3.6 which contains the patch. Alternatively, disable ImageMagick as the resize_method, or ensure the combination of non-default settings (subnews_attach=1, upload_enabled=1, numeric subnews_resize) required for exploitation are not all simultaneously enabled.
e107 version 2.3.6
- Back up the existing e107 installation and database before proceeding
- Download e107 version 2.3.6 from the official e107 repository or distribution source
- Replace the existing e107 files with the version 2.3.6 files, preserving any custom configurations if necessary
- If using ImageMagick resize_method, verify the configuration settings after upgrade
- Test the upgrade in a staging environment before deploying to production
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-48997 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48997 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data