# CVE-2026-18412: The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-10T14:50:54.864Z
- Modified: 2026-09-08T14:07:24.140Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- OpenCart OpenCart: 4.2.0.0

## References

- <https://kb.cert.org/vuls/id/614868>
- <https://www.kb.cert.org/vuls/id/614868>

## Sources

- CVE List: [CVE-2026-18412](https://www.cve.org/CVERecord?id=CVE-2026-18412), CVE Terms of Use, modified 2026-08-12
- NVD: [CVE-2026-18412](https://nvd.nist.gov/vuln/detail/CVE-2026-18412), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-18412 · Whole record: https://cve.day/CVE-2026-18412.json · Rebuilt by cve.day 2026-11-25T22:59:32.129Z
