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
Share

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

4
Analysis Generated
Aug 12, 2026 - 16:26 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-18412 vulnerability details – vuln.today

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