Skip to main content

InstantCMS CVE-2026-54611

| EUVDEUVD-2026-73561 MEDIUM
Code Injection (CWE-94)
2026-09-08 security-advisories@github.com
5.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise admin credentials
  2. Delivery
    Authenticate to InstantCMS admin panel
  3. Exploit
    Craft ZIP archive containing PHP webshell and .htaccess enabling PHP execution
  4. Execution
    Upload crafted ZIP via component installer
  5. Persist
    Uploaded .htaccess overrides upload-dir PHP restriction
  6. Impact
    HTTP GET to uploaded PHP file executes arbitrary server-side code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid InstantCMS administrator account with access to the component installer functionality (PR:H). The attack is delivered over the network (AV:N) to the admin panel endpoint. A critical secondary condition is that the web server must honor .htaccess overrides in the upload directory - specifically, Apache with AllowOverride All or AllowOverride FileInfo/Options enabled for that path. If .htaccess is globally disabled at the server level (AllowOverride None), the PHP execution bypass fails even if the malicious files are uploaded. No user interaction is required beyond the attacker's own authenticated actions. Exploitation is limited to InstantCMS deployments running versions prior to 2.18.2 on an Apache (or compatible) web server with .htaccess processing enabled.

Impact

The provided CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H) significantly understates impact: arbitrary PHP code execution on the server gives full read (C:H), write (I:H), and denial-of-service capability (A:H), not merely low integrity impact with no confidentiality. The PR:H prerequisite is realistic - only authenticated administrators reach the component installer - which substantially constrains real-world exposure. Attack complexity is genuinely low once admin credentials are held; no exploit code or chaining primitives are required beyond crafting a ZIP. EPSS data is absent from the input, and KEV status is not listed, indicating no confirmed active exploitation at time of analysis. The primary risk scenario is a compromised admin account or a malicious insider. The low deployment footprint of InstantCMS further reduces population at risk. Overall: medium-priority issue for affected installations that expose the admin panel to the internet; low aggregate risk due to the auth prerequisite.

Exploit ScenarioDerived

An attacker who has obtained admin credentials - via credential stuffing, phishing, or a compromised insider account - logs into the InstantCMS administrative panel and navigates to the component installer. The attacker uploads a crafted ZIP archive containing a PHP webshell (e.g., shell.php) and a .htaccess file with AddType application/x-httpd-php .php, which re-enables PHP execution in the upload directory. After upload and extraction, the attacker makes a direct HTTP GET request to the upload directory path containing the PHP file, achieving server-side code execution as the web server user.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 08, 2026

Remote code execution in InstantCMS prior to 2.18.2 allows authenticated administrators to execute arbitrary PHP code by abusing the component installer's file upload functionality. The attacker uploads a crafted ZIP archive containing a PHP webshell alongside a custom .htaccess file that overrides the upload directory's default PHP execution prohibition, causing the uploaded PHP files to become executable via direct HTTP request. The vulnerability requires admin-level authentication (PR:H per CVSS), significantly limiting exposure, but full server-side code execution is achievable post-exploitation. No public exploit code has been identified at time of analysis.

RemediationAI

Upgrade to InstantCMS 2.18.2 or later, which contains the fix as documented in GitHub security advisory GHSA-vvgv-h28h-p2m5 (https://github.com/instantsoft/icms2/security/advisories/GHSA-vvgv-h28h-p2m5) and commit 44f3a9d. If an immediate upgrade is not possible, restrict access to the admin panel (/admin or equivalent) to trusted IP addresses via network-level controls or a web server IP allowlist - this removes the network-reachable attack surface since PR:H already requires admin authentication. Additionally, configure the web server to deny execution of PHP files in the upload directory at the server level (e.g., in the main Apache VirtualHost or nginx config rather than relying solely on .htaccess inheritance), preventing the .htaccess override technique even if a malicious archive is uploaded. Note that disabling .htaccess override (AllowOverride None) globally may break other CMS functionality and requires testing.

Affected VersionsENISA

icms2 < 2.18.2

Affected Packages

euvd icms2 fix: 2.18.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

InstantCMS (icms2) is a PHP-based open-source CMS whose administrative panel includes a component installer that accepts ZIP archives. The root cause (CWE-94: Improper Control of Generation/Code Injection) lies in the installer's extraction logic: it extracted the ZIP contents - including arbitrary files such as .htaccess - directly into the upload directory without sanitizing filenames or filtering dangerous directives. Apache's .htaccess processing, if enabled, allows per-directory PHP handler overrides; uploading an AddHandler or Options +ExecCGI directive in a crafted .htaccess re-enables PHP script execution in the upload path. The fix in commit 44f3a9d refactors the extractor via a new packageInstallerTrait that removes the is_no_extract bypass path, adds post-upload cleanup (cleanupPackageFile), and extracts packages into a controlled temporary directory rather than the live upload path, removing the opportunity to plant executable PHP or override .htaccess.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 7.2 HIGH

Arbitrary PHP execution grants full C:H/I:H/A:H; PR:H retained as admin authentication is a genuine prerequisite per the component installer access control.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

1
Patch available
Sep 08, 2026 - 18:35 EUVD

DescriptionCVE.org

InstantCMS is a free and open source content management system. Versions prior to 2.18.2 have a Remote Code Execution (RCE) issue that allows remote authenticated attackers to execute any PHP code via the component installer. It is possible to upload a malicious component into the server, however, it won't be installed, but upload files will be executed. Normally all php files in upload folder are not executed, however, by uploading custom .htaccess it becomes possible. Version 2.18.2 contains a fix.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche open-source CMS, limited enterprise deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy