CVE-2026-18412 PUBLISHED

The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability

Assigner: certcc
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor OpenCart
Product OpenCart
Versions
  • Version 4.2.0.0 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')