CVE-2026-18412

CRITICAL CVSS 3.1: 9.1 EPSS 0.54%
Updated Sep 08, 2026
Opencart
Parameter Value
CVSS 9.1 (CRITICAL)
Type CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Vendor Opencart
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

opencart:opencart