The OpenCart v4.2.0.0 extension installer contains a directory traversal vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-18412
- 2026-10-03 Alias added: GHSA-3rx6-2g27-8gfq
References
More OpenCart vulnerabilities
- TI-2023-21572 OpenCart CMS v4.0.2.2 was discovered to lack a protective mechanism on its login page… CVSS 3.1CRITICAL 9.8
- TI-2021-22536 OpenCart 3.0.3.8 Session Fixation via OCSESSID Cookie CVSS 4.0CRITICAL 9.3
- TI-2024-38428 OpenCart Core 4.0.2.3 SQL Injection via search Parameter CVSS 4.0HIGH 8.8
- TI-2023-25651 An issue discovered in OpenCart 4.0.0.0 to 4.0.2.3 allows authenticated backend users… CVSS 3.1HIGH 8.8
- TI-2023-02171 Improper input validation in Opencart CVSS 3.1HIGH 8.8
- TI-2021-22559 OpenCart 3.0.3.6 Account Takeover via Cross Site Request Forgery CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-18412 · CVE Program
- CVE-2026-18412 · NVD
- FIRST EPSS
- GHSA-3rx6-2g27-8gfq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences