Skip to content

CVE-2026-18412 The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability

CriticalCVSS 9.1 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
PHP

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
opencart/opencart = 4.2.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
opencart/opencart = 4.2.0.0 No fix listed

References