Vulnerability · Published Aug 10, 2026 · Assigned by certcc
CVE-2026-18412The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability
Critical 9.1
In plain English
A critical-severity security flaw in OpenCart from OpenCart. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official 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.