The Joomla Security Strike Team has patched CVE-2026-133347, a critical PHP object injection defect in the CMS file cache storage handler. It can lead to remote code execution. Joomla 1.5.0 through 5.4.11 and 6.0.0 through 6.2.1 are affected. The fixes are in 5.4.12 and 6.2.2.
The advisory, numbered 20261201, was reported on 2026-11-25 and fixed on 2026-12-01. The Joomla CNA published the CVE record the same day.
The record classifies the issue as CWE-502, Deserialization of Untrusted Data. It carries a CVSS v4.0 base score of 9.4 (Critical) with the vector AV:N/AC:L/AT:N/PR:H/UI:N and high confidentiality, integrity, and availability impact. The finder is credited as Nicolas Markitanis (R3D).
Joomla CVE-2026-133347
Joomla’s file cache storage prepends a protection header, or guard, to every cached file. This keeps the stored payload from being served or executed if the file is requested directly.
The flaw is in how the handler removes that header on read. According to the advisory, it deleted every occurrence of the header in the cached data, not only the leading one.
That behavior is a sanitization-order error. If attacker-influenced content containing the guard string reaches the cache, the global removal changes the stored data after it was serialized. Changing the data this way can desynchronize the length prefixes and type markers that PHP’s unserialize() relies on.
A crafted payload can then shift field boundaries and make the deserializer instantiate attacker-chosen classes. This is our analysis of the described flaw. The advisory does not publish a proof of concept or a gadget chain.
Exploitation needs a property-oriented programming (POP) chain, meaning a loaded class with magic methods such as __wakeup(), __destruct() or __toString() that does something dangerous. Joomla core, its extensions, and Composer dependencies all supply candidate gadgets.
Joomla marks the issue Critical impact but only Moderate severity and Moderate probability. The CVSS vector lists high privileges required (PR:H). Together these suggest an attacker needs some control over cached content or an existing foothold.
Successful object injection can lead to arbitrary file writes, web shell deployment, or command execution as the PHP-FPM or web server user. That matters for shared hosting and multi-tenant servers, where one compromised Joomla instance can expose neighboring sites.
Caching layers are a recurring weak point because they treat their own storage as trusted. The pattern is not limited to Joomla. A recent critical RCE in the WP Rocket caching plugin, CVE-2026-125812, showed how cache-adjacent components can become PHP code execution paths.
It was exploited after an SSRF-style fetch stored attacker content as a PHP file. Reporting on that flaw is in Critical WP Rocket RCE CVE-2026-125812 Under Active Attack. Both cases involve data written by the application, then read back and trusted as safe.
Attackers also chain CMS weaknesses with server-side code execution once they have a foothold. A WordPress plugin flaw tracked as CVE-2026-134963 let low-privileged authenticated users run code on the hosting server. It carried a CVSS score of 9.9 and was fixed in version 2.26.2.
Details are in WordPress WPMasterToolKit Plugin Vulnerability Allows Arbitrary Code Execution. The low-privilege or high-privilege prerequisite should not make administrators complacent, because credential theft and account takeover often provide it.
Mitigation and Patching
Administrators should upgrade to Joomla 5.4.12 on the 5.x branch or 6.2.2 on the 6.x branch. Where an immediate upgrade is impossible, Joomla’s workaround is to switch the cache handler away from “File” in Global Configuration.
Alternatives such as Redis, Memcached, or APCu avoid the vulnerable guard-handling code path. Each needs its own hardening, including authentication, network isolation, and correct binding.
After patching, defenders should purge the existing cache directory, because poisoned entries can persist. They should also review the cache and administrator/cache directories for unexpected PHP files and recent modifications.
A file integrity comparison against a clean release package helps here. Web logs should be checked for anomalous requests that precede cache writes. Rotate any secrets stored in configuration.php if compromise is suspected.
Hardening steps reduce the blast radius of any object injection. Disable PHP execution in upload and cache directories, and restrict write permissions for the web user. Keep Composer dependencies current to shrink the gadget surface.
Use a WAF with rules for serialized-object patterns, and keep administrator access behind MFA and IP allow-lists. Because the CVSS vector assumes elevated privileges, protecting back-end accounts is a meaningful compensating control.
Joomla’s September 2026 advisories fixed many other defects, including MFA bypass, SSRF and path traversal. Sites that missed those releases are probably also exposed here. Treat this update as part of a continuous patch cycle and not a one-off fix.
FAQ
What is CVE-2026-133347? It is a critical PHP object injection flaw in Joomla’s file cache storage that can lead to remote code execution.
Which Joomla versions are affected? Versions 1.5.0 through 5.4.11 and 6.0.0 through 6.2.1 are affected.
How do I fix it? Upgrade to Joomla 5.4.12 or 6.2.2.
Is there a workaround? Yes, switch the cache handler from “File” to another handler in Global Configuration.
Sources: