CVE Catalog

CVE-2026-18412

Unknown
Published: Updated: Translated: NVD NIST

Summary

The OpenCart v4.2.0.0 extension installer does not validate that extracted paths stay within the intended directory. An attacker can craft a malicious extension with path traversal sequences to write files, such as a PHP web shell, into the webroot.

Risk Assessment

Allows remote code execution on the server, potentially leading to full compromise of the application and data.

Recommendation

Update OpenCart to a patched version or manually validate paths during extension installation.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS