CVE-2026-18412: OpenCart - Path Traversal
- Cve: CVE-2026-18412
- Name: OpenCart - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files to the webroot, potentially leading to remote code execution and full server compromise.
- Remediation: Update to the latest OpenCart version with fixed extension installer validation.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00537
- Epss percentile: 0.45866
- Assignee: [email protected]
- Published at: 2026-08-10T15:17:42Z
- Age in days: 106
- Modified at: 2026-09-08T14:07:24Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-18412
- Nvd status: deferred
- Checked, none or zero: cwe, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
References
| Url | Source | Tags |
|---|---|---|
| https://kb.cert.org/vuls/id/614868 | nvd | |
| https://www.kb.cert.org/vuls/id/614868 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opencart:opencart | = 4.2.0.0 | no | cna_alias | /v1/products/opencart/opencart |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 1843
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports