One-Click Fix for the Critical File Cache Flaw in Joomla 3

Joomla fixed a Critical-impact flaw in its file cache on 1 December 2026, in the Joomla 6.2.2 and 5.4.12 security release. Advisory 20261201 gives an affected range that starts at 1.5.0. That includes Joomla 3, and Joomla released nothing for Joomla 3.
The mySites.guru one-click Joomla 3 patch tool now includes a backport of that fix for Joomla 3.10.12, so every Joomla 3 site you manage can be patched with one toggle. The full release story is in our post on Joomla 6.2.2 and 5.4.12.
What to do now
- Joomla 3 sites: one click. Turn on “Fix Known Joomla 3 End Of Life Security Issues” in mySites.guru, on one site or across all of them from the bulk view. If it was already on and now reports one file to patch, turn it on again.
- Joomla 4 sites: update to 4.4 first and then to 5.4.12.
- Joomla 5 and Joomla 6 sites: update to 5.4.12 or 6.2.2.
- A Joomla 3 site without the tool: change its Cache Handler away from File in Global Configuration, if the server offers another one.
One Toggle Patches Every Joomla 3 Site in mySites.guru
You do not have to edit a core file on any site yourself. The mySites.guru one-click Joomla 3 patch tool writes the fix for you, along with every other core fix we have backported to Joomla 3: 85 files covering every core vulnerability disclosed since Joomla 3.10.12 was released, plus the eLTS fixes through 3.10.20-elts. One toggle per site, or one screen for all of them. There is no eLTS licence to buy and no file to edit by hand, and switching the tool off puts the stock files back if you ever need to.
For an agency with a handful of Joomla 3 clients who will not pay to migrate this year, this is the difference between hand-editing a core file on every site and a few clicks from one dashboard.
The tool works on Joomla 3.10.12 sites. It is called “Fix Known Joomla 3 End Of Life Security Issues” and it is in the Joomla Configuration section of each site’s Snapshot. You can also find it with Cmd+K by searching “Fix All Known Joomla 3”.
Open the Snapshot. In mySites.guru, open the Snapshot of the Joomla 3.10.12 site.
Find the tool. Look in the Joomla Configuration section for "Fix Known Joomla 3 End Of Life Security Issues".
Turn it on. Switch the toggle on, or on again if it was already on and now reports one file to patch.
Use the bulk view for many sites. The grid icon next to the toggle lists every Joomla 3.10.12 site with its own toggle.
Check the next snapshot. The count of files still to patch is back at zero.
If you already had the tool on, expect to see one file to patch. A site with every file patched will report one file outstanding once its connector updates, because the patched copy of FileStorage.php has changed. The connector compares each file’s MD5 hash with the patched copy and replaces any that do not match, so turning the tool on again writes the new copy. Switching the tool off puts the stock 3.10.12 files back.
The bulk view is the quick way to work through an agency’s worth of Joomla 3 sites. On each Joomla 3 site’s Important tab, mySites.guru also lists CVE-2026-133347 and shows whether the patch tool has already closed it on that site or can close it now.
Fix Joomla 3 Security Issues in One ClickRead the full postThe Same Flaw Is in Joomla 3.10.12
Joomla 3 stopped receiving security fixes in August 2023. The paid extended support (eLTS) programme has closed too, and its last release was 3.10.20-elts. So when the advisory gives the affected range as 1.5.0 to 5.4.11 and 6.0.0 to 6.2.1, and the fixed versions as 5.4.12 and 6.2.2, a Joomla 3 site is exposed with no release to install.
The advisory describes the flaw in one sentence: “The file cache storage removed every occurrence of its protection header from cached data instead of only the leading one, leading to PHP object injection vectors.”
That protection header is a line of PHP. Every file Joomla writes to its file cache starts with <?php die("Access Denied"); ?>#x#, so that requesting a cache file in a browser prints nothing useful. Stock Joomla 3.10.12 takes it off again in the get() method of libraries/src/Cache/Storage/FileStorage.php, the same file path as Joomla 5, with this line:
// Remove the initial die() statement
return str_replace('<?php die("Access Denied"); ?>#x#', '', $data);
The 5.4.11 to 5.4.12 diff replaces it with a check that the file starts with the guard, and removes only those leading bytes:
$guard = '<?php die("Access Denied"); ?>#x#';
if (!str_starts_with($data, $guard)) {
return false;
}
return substr($data, \strlen($guard));
Why one line matters this much is our reading of the diff, and Joomla has not said it. PHP serialized strings are prefixed by their length in bytes. Strip the guard from inside a cached value and the stored lengths are wrong, so unserialize() reads the bytes that follow as structure. Someone able to get crafted text into a cached value can use that to have it build objects of their choosing, which is PHP object injection, and with a suitable class chain, code execution.
How the Fix Was Backported to Joomla 3
Joomla’s fix cannot be pasted into Joomla 3 as it stands. Joomla 3 still has to run on PHP versions as old as 5.3.10, and str_starts_with() only exists from PHP 8.0. This is the code the patch tool writes, in Joomla 3’s own code style:
// Remove the leading die() statement only. Removing every copy of it changes the
// byte lengths unserialize() relies on (CVE-2026-133347, fixed in 5.4.12).
$guard = '<?php die("Access Denied"); ?>#x#';
if (strpos($data, $guard) !== 0)
{
return false;
}
return (string) substr($data, strlen($guard));
Both differences from Joomla 5 come from old PHP:
strpos($data, $guard) !== 0stands in forstr_starts_with().- The result is cast to a string, because on PHP 5
substr()returns false rather than an empty string when nothing is left after the guard.
Behaviour is otherwise the same as Joomla’s fix. We checked the backport with the case Joomla’s own new unit test uses: a serialized array whose values hold the guard string twice. The old Joomla 3 code returns a corrupted string for it, and the backport returns it unchanged. A cache file that does not start with the guard is rejected, with get() returning false. Joomla treats that as a cache miss and rebuilds the entry.
This file was already in the patch set. We patched it in October 2026 for CVE-2026-90915, arbitrary directory deletion through the cache purge action, which is the earlier fix for the cache purge flaw. So this change edits a file the tool already patches, and the tool still touches 85 core files.
How Serious Is It for a Joomla 3 Site?
It is serious once an attacker has an administrator-level login. Joomla’s advisory rates the impact Critical, the severity Moderate and the probability Moderate, with the exploit type given as PHP Object Injection / RCE. The CVE record scores it 9.4 Critical under CVSS 4.0 and names the weakness as CWE-502, Deserialization of Untrusted Data. Joomla has not reported exploitation.
CriticalJoomla CNA, CVE record
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HWhat does this mean?
CVSS 4.0 scores how severe a flaw is, from 0 (no impact) to 10 (critical). Each pair of letters in the string above is one metric; here is what this one's says.
How it is reached
- AV:N
- Network: Reachable across the internet
- AC:L
- Low: Nothing to work around, it just works
- AT:N
- None: Works against any affected install
- PR:H
- High: Needs an account with elevated rights
- UI:N
- None: Nobody has to be tricked into anything
What it does to the site
- VC:H
- High: Everything the site holds can be read
- VI:H
- High: Data and files can be altered at will
- VA:H
- High: The site can be taken down
What it does beyond the site
- SC:H
- High: Data on other systems can be read
- SI:H
- High: Other systems can be altered
- SA:H
- High: Other systems can be taken down
PR:H in the vector means the attacker needs a highly privileged account. That requirement is a reason the probability is Moderate, and on a well-kept site it is a real barrier.
In our experience of looking after client sites for more than 15 years, an old Joomla 3 site is where that barrier is lowest. These are the sites with administrator accounts no one has logged in to for years, belonging to people who left the client long ago, and with passwords reused elsewhere. On those sites, needing an admin login protects far less.
If a Joomla 3 Site Cannot Use the Patch Tool
Without the tool, the only thing Joomla offers a Joomla 3 site is the advisory’s workaround: “Use a different Cache Handler than “File”, see Global Configuration.” The setting is in Global Configuration, on the System tab, in the Cache section. The Cache Handler list only shows the handlers the server supports. On a server that offers nothing but File there is no workaround.
The patch closes the hole but does not clean a hacked site. If a site has already been hacked, find and remove the hacked files first.
For the wider picture, joomla3security.com keeps a list of Joomla 3 core vulnerabilities and sets out the choices for a Joomla 3 site: stay, patch or migrate. For background on patching Joomla 3 after end of life, see the Joomla 3.10.999 project.
Joomla 4, 5 and 6 Sites
Joomla 4 gets nothing from the Joomla 3 tool, and no release of its own. The 5.4.12 release notes say: “Don’t update directly from a version lower than 4.4 it is important that you first update to 4.4 and then update to 5.x”. So a Joomla 4 site goes to 4.4 and then to 5.4.12.
Joomla 5 and Joomla 6 sites update to 5.4.12 or 6.2.2. Joomla gave one day’s notice of this release, and it came a week after Joomla 6.2.1 and 5.4.11 fixed 58 security issues on 24 November 2026.
The release post covers Joomla 5 and Joomla 6 in detail.
Joomla 6.2.2 and 5.4.12 Fix a Critical File Cache FlawRead the full postTimeline
The file cache flaw is reported
The Reported Date on advisory 20261201, reported by Nicolas Markitanis.
Joomla announces a release for 1 December
One day's notice of a security release.
Joomla 5.4.12 and 6.2.2 are released
Both were tagged on GitHub at 16:00 UTC. There is no Joomla 3 release.
The CVE record is published
CVE-2026-133347 was published at 16:24 UTC, scored 9.4 Critical under CVSS 4.0.
mySites.guru adds the fix to its Joomla 3 patch tool
A backport for Joomla 3.10.12, written to run on PHP versions as old as 5.3.10.
Further Reading
- Joomla 6.2.2 and 5.4.12 security release - the Joomla project's announcement.
- Advisory 20261201: PHP object injection through file cache guard handling - the affected versions, the ratings and the workaround.
- CVE-2026-133347 - the CVE record, with the CVSS 4.0 score and vector.
- The 5.4.11 to 5.4.12 diff - Joomla's code change and its new unit test.
- Joomla 6.2.2 and 5.4.12 fix a Critical file cache flaw - the full release story for Joomla 5 and Joomla 6.
- How to fix Joomla 3 security issues with a single click - the Joomla 3 patch tool and what it changes.
- Joomla 3 core vulnerabilities - the known core issues that reach Joomla 3.




