A serious security flaw has been found in VirtueMart, the popular e-commerce extension for Joomla published by virtuemart.net. The issue, tracked as CVE-2026-133335, was published in the GitHub Advisory Database on 25 November 2026. It allows an attacker with no login to make the shop load local PHP files from the server. Depending on how the server is set up, this can be turned into remote code execution, meaning the attacker can run their own commands on the web server.
The flaw carries a CVSS score of 9.2, which is in the critical range. The advisory states that the issue has been exploited in the wild. It is not listed in the CISA Known Exploited Vulnerabilities catalogue at the time of writing, but that does not reduce the risk. A fix is available in VirtueMart 4.8.8.

What is affected
- VirtueMart for Joomla, versions 4.0.0 to 4.8.7
- Fixed in version 4.8.8
If your Joomla site runs a VirtueMart shop on any 4.x release before 4.8.8, you should treat it as vulnerable. No login is needed to attack it, so any shop reachable from the internet is exposed.
What goes wrong
Joomla components use controllers to decide what code runs for a given request. VirtueMart's main controller had a fallback: when it could not match a request in the normal way, it tried to load a controller file whose name came from the request itself. It did not filter that name.
Because the name was not checked, an attacker could use path traversal to point the shop at other PHP files elsewhere on the server. This is known as local file inclusion. On its own, it lets an attacker run existing PHP files that were never meant to be reachable from the web.
Whether this leads to full code execution depends on the server. The advisory gives the example of an available pearcmd.php, a helper file that comes with some PHP installations. If such a file is present and reachable, an attacker can abuse it to execute code. Servers without such files may be harder to take over, but they are still vulnerable to the file inclusion itself.
Why it matters
VirtueMart sites are online shops. They hold customer names, addresses, order histories and admin accounts, and they often connect to payment and shipping services. Code execution on the web server can give an attacker access to the database, configuration files and stored credentials. It can also be used to plant card skimmers, spam pages or backdoors that survive a later update.
The combination of no login required, a critical score and confirmed exploitation means this should be patched as a priority, not at the next routine maintenance window.
What to do now
- Check your version. In the Joomla administrator, open the extensions manager and look up the installed VirtueMart version.
- Update to VirtueMart 4.8.8 or later. Take a full backup of files and database first, then apply the update and test checkout.
- If you cannot update straight away, consider putting the shop into maintenance mode or restricting access until you can.
- Check for risky PHP helper files. Ask your host or IT team whether
pearcmd.phpor similar PEAR tools are installed and reachable. Remove them if they are not needed. - Review your web server logs for unusual requests to VirtueMart containing directory traversal sequences such as
../in parameters. - Look for signs of compromise: unfamiliar PHP files in the site folders, recently changed core files, new Joomla administrator accounts or unexpected scheduled tasks.
- If you find anything suspicious, change database and admin passwords, rotate any API keys stored on the site and restore from a known clean backup before patching.
Because the flaw was exploited before many shops could patch, updating alone may not be enough. A site that was already attacked can keep a backdoor after the update, so the compromise checks above are worth doing even after you move to 4.8.8.
Not sure if this affects you? Talk to us and we will check your sites and servers and plan the update with you.
Sources
- Joomla Extension - virtuemart.net - Unauthenticated local file inclusion leading to remote code...: GitHub Advisories, 25 November 2026
