Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to OpenCart panel
-
DeliveryUpload crafted .ocmod.zip extension
-
ExploitTraversal writes PHP shell to webroot
-
ExecutionRequest web shell URL
-
ImpactExecute commands as web server
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the ability to submit an extension to the OpenCart 4.2.0.0 extension installer - i.e. reaching the OCMOD install workflow that accepts a .ocmod.zip upload - and a crafted archive containing path-traversal entries (such as ../) that resolve into the webroot. The concrete trigger is the installer's failure to confine extracted paths to the intended directory during .ocmod.zip extraction. Limiting factors: installing extensions is an administrative function, so despite the NVD vector's PR:N the attacker in practice needs admin/operator access to the admin panel (verify with vendor); the server must execute PHP from the writable webroot for the shell to yield code execution; and the issue is confirmed only for version 4.2.0.0. No user interaction by a victim is required beyond the attacker's own installer action. |
| Impact | The signals are mixed. The NVD CVSS 3.1 base score is 9.1 with vector AV:N/AC:L/PR:N/UI:N, which implies unauthenticated remote exploitation - yet installing an OpenCart extension is an administrative action in the admin panel, so realistic exploitation almost certainly requires authenticated administrator (or equivalent) access; this PR:N vs. operator-required discrepancy should be verified with the vendor and materially lowers real-world risk. EPSS is low (0.17%, 6th percentile), there is no public exploit identified, and the CVE is not on CISA KEV, so there is no evidence of active or automated exploitation. That said, the outcome (web shell → RCE) is severe, the attack complexity is low, and any operator running the affected 4.2.0.0 release should prioritize it - even a mid-sized municipal IT team in rybnik should treat a store on this version as an urgent fix rather than a theoretical issue, because a single compromised or malicious admin, or a phished admin session, is enough to fully own the server. Net assessment: high technical impact but gated by admin privilege, so it is a priority for affected 4.2.0.0 deployments while not being a mass-exploitation, drop-everything internet-wide event. |
| Exploit ScenarioDerived | An attacker who can reach the OpenCart 4.2.0.0 admin extension installer (for example a low-trust store administrator, or an outside attacker who has phished or hijacked an admin session) uploads a crafted .ocmod.zip whose entries use ../ sequences to point outside the extraction directory. On install, the traversal writes a PHP web shell into the public webroot; the attacker then requests that shell's URL and runs arbitrary commands as the web server user. No public proof-of-concept exploit was identified at time of analysis, and low attack complexity means the technique is straightforward for anyone with installer access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Arbitrary file write in OpenCart 4.2.0.0 lets an attacker plant a PHP web shell in the webroot by abusing the extension installer, which extracts uploaded .ocmod.zip archives without validating that extracted paths remain inside the target directory (a classic Zip-Slip / path traversal). Because a web shell grants command execution, this escalates to full remote code execution on the store server. There is no public exploit identified at time of analysis, EPSS is low (0.17%, 6th percentile), and it is not on CISA KEV.
RemediationAI
No vendor-released patch version was identified at time of analysis in the provided data; consult CERT/CC VU#614868 (https://kb.cert.org/vuls/id/614868) and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-18412) for the authoritative fixed release and upgrade to it as the primary remediation as soon as it is published. Until a fix is applied, restrict who can install extensions: lock down access to the OpenCart admin panel (IP allow-listing / VPN, strong MFA on all admin accounts) so the installer cannot be reached by untrusted users - trade-off is added friction for legitimate admins. Only install extensions from trusted, verified sources and inspect .ocmod.zip archives for entries containing ../ before installation. Consider making the webroot and OCMOD storage directories non-writable by the web server where feasible, or place a WAF/upload inspection rule to block archive entries with traversal sequences - note this can break legitimate extension installs and file uploads, so test before enforcing. Monitor the webroot for newly created .php files as a detective control.
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
OpenCart is a widely used open-source PHP e-commerce platform. Its modification/extension system (OCMOD) distributes add-ons as ZIP archives with a .ocmod.zip extension. During installation the installer decompresses the archive and writes each contained entry to disk, but it trusts the archive-supplied file paths rather than canonicalizing them and confining them to the intended extraction directory. This is the root-cause class of CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / directory traversal), specifically the 'Zip-Slip' variant where entries such as ../../ escape the sandbox. The affected product per CPE is cpe:2.3:a:opencart:opencart (version 4.2.0.0). Because PHP files dropped into the webroot are executed by the server on request, an arbitrary-write primitive here directly becomes code execution.
Know when Opencart 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:N/UI:N/S:U/C:H/I:H/A:N
Installing extensions requires admin access so PR:H, not PR:N; a webroot PHP shell yields full RCE, so C/I/A are all High and complexity is Low.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
3DescriptionCVE.org
OpenCart extensions are uploaded as zip files with .ocmod.zip extensions. Upon installation, the OpenCart v4.2.0.0 extension installer extracts these zip files, but does not validate that the extracted paths stay inside the intended extraction directory. An attacker can craft a malicious extension containing file path traversal sequences, such as ../. With this vulnerability, an attacker can write files, such as a PHP web shell, into the webroot directory.
Executive ViewAI
OpenCart 4.2.0.0 contains a critical file upload vulnerability allowing attackers to gain complete control of affected servers. Organizations operating this version face immediate risk to business continuity and customer data protection; while no active exploitation has been observed, the severity requires urgent action.
No vendor-released patch identified at time of analysis. Interim mitigations include: disable the extension installer module in application settings; restrict file upload access to authenticated administrators only; implement Web Application Firewall rules to block suspicious archive uploads; enforce strict file upload validation and monitor webroot for unauthorized file creation.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page against excessive login attempts,
OpenCart 3.0.3.8 contains a session fixation vulnerability that allows attackers to hijack user sessions by injecting ar
OpenCart Core 4.0.2.3 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate databas
An issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users having common/security write privi
Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2 allows an authenticated user with access/modify privilege on the
/upload/catalog/controller/account/password.php in OpenCart through 3.0.2.0 has CSRF via the index.php?route=account/pas
This affects versions of the package opencart/opencart from 0.0.0. Rated high severity (CVSS 8.1), this vulnerability is
The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move,
SQL injection vulnerability in the updateAmazonOrderTracking function in upload/admin/model/openbay/amazon.php in OpenCa
OpenCart 4.0.2.3 is vulnerable to Server-Side Template Injection (SSTI) via the Theme Editor Function. Rated high severi
This affects versions of the package opencart/opencart from 4.0.0.0. Rated high severity (CVSS 7.2), this vulnerability
This affects versions of the package opencart/opencart from 4.0.0.0. Rated high severity (CVSS 7.2), this vulnerability
EUVD-2026-55652
GHSA-3rx6-2g27-8gfq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB