Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise admin credentials
-
DeliveryAuthenticate to InstantCMS admin panel
-
ExploitCraft ZIP archive containing PHP webshell and .htaccess enabling PHP execution
-
ExecutionUpload crafted ZIP via component installer
-
PersistUploaded .htaccess overrides upload-dir PHP restriction
-
ImpactHTTP 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-73561
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB