Joomla fixes a critical file-cache flaw that can lead to remote code execution — update to 5.4.12 or 6.2.2
Joomla released 5.4.12 and 6.2.2 on 1 December to patch a PHP object injection flaw in the file cache, scored 9.4. Sites using file-based caching should update now.

Affects
- Joomla
Tracked as
CVE-2026-133347Joomla · CVSS 9.4
Joomla released two security patches, 5.4.12 and 6.2.2, on 1 December 2026, fixing a single flaw that the project’s security team rated as high impact. The flaw sits in how Joomla reads back data stored in the file cache, and in the worst case an attacker could use it to run code on the server. The fix took just six days from the report, and updating is the usual upgrade through the admin panel.
- 9.4CVSS 4.0 score
- 1Flaw patched
- 2Releases fixing it
- 6 daysFrom report to fix
Where the flaw sits
Joomla can store processed pages and data in cache files so it does not have to compute them again next time. Each cache file starts with a short guard line, so a browser cannot open it directly and read the contents inside. When Joomla reads a cache file back, it has to strip exactly the guard line at the start of the file before using the rest.
This patch fixes exactly that spot: previously, Joomla stripped every copy of the guard line appearing anywhere in the stored content, instead of only the copy at the start of the file. An attacker who could get crafted data into the cache could exploit this to make Joomla recreate PHP objects it should never create. This kind of flaw is called PHP object injection, and it can end in remote code execution on the server.
The flaw is tracked as CVE-2026-133347, in the group of flaws involving decoding untrusted data, with a CVSS 4.0 score of 9.4. The high score reflects the large impact, but one important condition applies: an attacker must have enough privilege to get crafted data into the cache. So this is not a flaw any visitor can reach, but for sites that let users submit content, the risk is real.
Who is affected
All Joomla versions from 1.5.0 to 5.4.11 and from 6.0.0 to 6.2.1 are affected, but only when the site uses file-based caching. Sites using other caches, such as APCu, Memcached or Redis, are not hit by this flaw. Unsupported branches such as 3.x and 4.x still carry the flaw and will get no patch — the only way is to move to a supported version.
Joomla’s security team rates the impact as severe, the overall severity as moderate, and the likelihood as moderate. As of 1 December, Joomla had recorded no exploitation in the wild, and the flaw is not on CISA’s list of actively exploited vulnerabilities.
How to update
Update Joomla
Back up before updating
Back up the site’s files and database, so you can roll back if the update hits a problem.
Install the patch
In the admin panel, go to System, choose Update, then Joomla, and click Update to install 5.4.12 or 6.2.2 depending on the branch in use.
Clear the cache
After updating, go to System, then Clear Cache, to delete old cache files that may still hold crafted data.
Check the version
Go to System, then System Information, to confirm the site is running 5.4.12 or 6.2.2.
Sites that cannot update right away can use the temporary workaround in Joomla’s advisory: in the admin panel, go to System, choose Global Configuration, then in the System section of the Cache settings, change the Cache Handler to an option other than File, then save and clear the cache. This removes the attack path, but it does not replace the patch.
Nicolas Markitanis reported the flaw on 25 November, and Joomla published the patch and the CVE record just six days later. That speed is good, but it also means the technical details of the flaw are now public — sites still running an old version with file-based caching should update in their next maintenance window.
Sources
- [20261201] - Core - PHP object injection through file cache guard handlingJoomla
- Joomla 6.2.2 and 5.4.12 Security ReleaseJoomla


