CVE-2026-18412

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

No configuration.

History

No history.

Information

Published : 2026-08-10 15:17

Updated : 2026-09-08 14:07


NVD link : CVE-2026-18412

Mitre link : CVE-2026-18412

CVE.ORG link : CVE-2026-18412


JSON object : View

Products Affected

No product.

CWE

No CWE.