CVE-2026-18412
Received Received - Intake

Path Traversal in OpenCart Extension Installer

Vulnerability report for CVE-2026-18412, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: CERT/CC

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
opencart opencart From 4.2.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in OpenCart v4.2.0.0 allows attackers to upload malicious extensions that bypass directory restrictions during installation. The extension installer extracts zip files without verifying extracted paths stay within the intended directory, enabling file path traversal attacks.

Detection Guidance

Check for unexpected files in the webroot directory, especially PHP files. Look for recently modified files outside expected extension directories. Review OpenCart extension installations for suspicious paths containing ../ sequences.

Impact Analysis

An attacker could exploit this to write arbitrary files, such as a PHP web shell, into the webroot directory. This could lead to complete server compromise, unauthorized data access, or further attacks on the system.

Mitigation Strategies

Stop using OpenCart v4.2.0.0 until patched. Remove any untrusted extensions. Restrict file write permissions in the webroot. Monitor for unauthorized file creation. Consider upgrading to a newer OpenCart version if available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18412. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart