CVE-2026-18412

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

State
Published
Severity
9.1 Critical
Published
Aug 10, 2026
Updated
Aug 12, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
OpenCartOpenCart
  • 4.2.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.