CVE-2026-18412
9.1critical
The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- certcc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenCart OpenCart | 4.2.0.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18412 changed 2026-08-12 | CVE Terms of Use |
| NVD | CVE-2026-18412 changed 2026-09-08 | Public domain |