Skip to main content

OpenCart CVE-2026-18412

| EUVDEUVD-2026-55652 CRITICAL
2026-08-10 certcc GHSA-3rx6-2g27-8gfq
9.1
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin access to OpenCart panel
  2. Delivery
    Upload crafted .ocmod.zip extension
  3. Exploit
    Traversal writes PHP shell to webroot
  4. Execution
    Request web shell URL
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Opencart 4.2.0.0

Affected Packages

euvd opencart no fix

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

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

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.

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:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

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

Lifecycle Timeline

3
CVSS changed
Aug 12, 2026 - 16:22 NVD
9.1 (CRITICAL)
CVE Published
Aug 10, 2026 - 14:50 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 10, 2026 - 14:50 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular open-source e-commerce platform, mostly SMB online stores
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2023-40834 CRITICAL POC
9.8 Sep 12

OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page against excessive login attempts,

CVE-2021-47923 CRITICAL POC
9.3 May 10

OpenCart 3.0.3.8 contains a session fixation vulnerability that allows attackers to hijack user sessions by injecting ar

CVE-2024-58341 HIGH POC
8.8 Mar 25

OpenCart Core 4.0.2.3 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate databas

CVE-2023-47444 HIGH POC
8.8 Nov 15

An issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users having common/security write privi

CVE-2023-2315 HIGH POC
8.8 Sep 27

Path Traversal in OpenCart versions 4.0.0.0 to 4.0.2.2 allows an authenticated user with access/modify privilege on the

CVE-2018-13067 HIGH POC
8.8 Jul 02

/upload/catalog/controller/account/password.php in OpenCart through 3.0.2.0 has CSRF via the index.php?route=account/pas

CVE-2024-21514 HIGH POC
8.1 Jun 22

This affects versions of the package opencart/opencart from 0.0.0. Rated high severity (CVSS 8.1), this vulnerability is

CVE-2018-11494 HIGH POC
8.0 May 26

The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move,

CVE-2016-10509 HIGH POC
7.2 Aug 31

SQL injection vulnerability in the updateAmazonOrderTracking function in upload/admin/model/openbay/amazon.php in OpenCa

CVE-2024-36694 HIGH POC
7.2 Dec 18

OpenCart 4.0.2.3 is vulnerable to Server-Side Template Injection (SSTI) via the Theme Editor Function. Rated high severi

CVE-2024-21519 HIGH POC
7.2 Jun 22

This affects versions of the package opencart/opencart from 4.0.0.0. Rated high severity (CVSS 7.2), this vulnerability

CVE-2024-21518 HIGH POC
7.2 Jun 22

This affects versions of the package opencart/opencart from 4.0.0.0. Rated high severity (CVSS 7.2), this vulnerability

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