CVE-2026-5331 OpenCart Extension Installer installer.php path traversal
Remote attackers can exploit a path traversal flaw in the OpenCart Extension Installer to access unauthorized files or execute code.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5331?
CVE-2026-5331 is a medium-severity path traversal vulnerability in OpenCart, published on 2 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A vulnerability was determined in OpenCart 4.1.0.3. This affects an unknown part of the file installer.php of the component Extension Installer Page. Executing a manipulation can lead to path traversal. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
Weakness: CWE-22
Which versions are affected by CVE-2026-5331?
How do I fix CVE-2026-5331?
No fix has been published for CVE-2026-5331 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-5331 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5331 exists.
Sources
Also known as GHSA-fhxj-4x9w-65xm.