CVE-2026-18412

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

Vendor Opencart
Product OpenCart
Published August 10, 2026
Last update August 12, 2026

CVSS base score

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 10, 2026 CVE published
August 12, 2026 Record updated