# Joomla! Core CVE-2026-133347 detection pack (v1.0.0, 1 Dec 2026)

Slot: `joomla-cve-2026-133347-pack-v1`

This pack is for CVE-2026-133347, Joomla! Core PHP object injection through file cache guard handling (advisory [20261201]). CVE.org publishes a CVSS 4.0 score of 9.4 Critical (privileges required: high, vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H). Joomla! rates Impact: Critical, Severity: Moderate, Probability: Moderate (CVE.org CVSS 4.0 9.4 Critical). Use the 9.4 figure only on the same line as Critical.

The official advisory states that 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. The official problem type is CWE-502 (deserialization of untrusted data). Privileges required are high.

Affected: Joomla! CMS 1.5.0-5.4.11 and 6.0.0-6.2.1. Fixed: upgrade to 5.4.12 or 6.2.2. Workaround: use a different Cache Handler than File, in Global Configuration. Official 5.4.12 `installation/configuration.php-dist` defaults `$cache_handler` to `file`. Official 5.4.12 `includes/defines.php` sets `JPATH_CACHE` to `administrator/cache`. The official 5.4.12 tree also ships a top-level `cache/` directory. Official file cache storage writes `.php` files in those directories, so a `.php` file there is not, by itself, an implant.

Use the read-only checkers to compare a version you already know, or official `libraries/src/Version.php` constants (or the 2.5 path `libraries/cms/version/version.php`), with those ranges. Optional `--cache-handler` records the official workaround state. Optional `--list-cache` with `--root` lists names, types and timestamps under `cache/` and `administrator/cache/` and never opens file contents. The checkers never open `configuration.php` (it holds database, SMTP and `$secret` values), never write files, and never contact a Joomla! server.

The KQL in this pack has NOT been run against a live tenant. Parsed offline with Kusto.Language against Microsoft Learn column lists. Test it in your own workspace before you rely on it.

There is no exploitation reported by Joomla! as of 1 Dec 2026; not listed in CISA KEV as of 1 Dec 2026 (catalogue 2026.11.30, released 30 Nov 2026 at 19:44 GMT, 1810 entries). KEV due dates bind US federal agencies only (BOD 26-04). Patch now regardless.

Research is credited to security researchers only. Name no reporter, firm, team or programme. Joomla!, the Joomla! Project and Open Source Matters may be named as the vendor.

## Sources

- Joomla! Security Centre advisory [20261201]: https://developer.joomla.org/security-centre/1158-20261201-core-php-object-injection-through-file-cache-guard-handling.html
- CVE.org CVE-2026-133347 (published 1 Dec 2026 at 16:24 GMT / 16:24 Europe/London): https://www.cve.org/CVERecord?id=CVE-2026-133347
- NVD CVE-2026-133347 (published 1 Dec 2026 at 17:17 GMT / 17:17 Europe/London; status Received): https://nvd.nist.gov/vuln/detail/CVE-2026-133347
- Official Joomla! 6.2.2 and 5.4.12 security release announcement (1 Dec 2026): https://www.joomla.org/announcements/release-news/joomla-6-2-2-5-4-12-security-release.html
- Official GitHub releases: https://github.com/joomla/joomla-cms/releases/tag/5.4.12 and https://github.com/joomla/joomla-cms/releases/tag/6.2.2 (both published 1 Dec 2026 at 16:00 GMT)
- Official Version.php (5.4.12): https://github.com/joomla/joomla-cms/blob/5.4.12/libraries/src/Version.php
- Official site defines (JPATH_CACHE): https://github.com/joomla/joomla-cms/blob/5.4.12/includes/defines.php
- Joomla! project site: https://www.joomla.org/
- CISA KEV catalogue: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- CISA BOD 26-04 implementation guidance: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk

## Verified facts

Joomla! advisory [20261201] lists Impact: Critical, Severity: Moderate, Probability: Moderate (CVE.org CVSS 4.0 9.4 Critical), versions 1.5.0-5.4.11 and 6.0.0-6.2.1, exploit type PHP Object Injection / RCE, reported date 2026-11-25, fixed date 2026-12-01, and CVE-2026-133347. Description: "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." Solution: "Upgrade to version 5.4.12, 6.2.2". Workaround: use a different Cache Handler than File, see Global Configuration.

CVE.org is the CNA record from Joomla, state PUBLISHED, date published 2026-12-01T16:24:51.300Z (16:24 GMT, 16:24 Europe/London). The CVSS 4.0 base score is 9.4, base severity CRITICAL, privilegesRequired HIGH, vector `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`. CWE-502. Affected product Joomla! CMS, vendor Joomla! Project, ranges 1.5.0-5.4.11 and 6.0.0-6.2.1. The record does not discuss in-the-wild use.

NVD published 2026-12-01T17:17:26.997 (17:17 GMT, 17:17 Europe/London), vulnStatus Received, and repeats the CVE.org CVSS 4.0 9.4 Critical metric with privilegesRequired HIGH.

Official releases 5.4.12 and 6.2.2 are security releases published 1 Dec 2026 at 16:00 GMT (16:00 Europe/London). The official announcement says this is an important security release and you should update immediately, and: "Joomla 5.4 support: security fixes only until 12 October 2027." Updating to 5.4.12 keeps a Joomla 5 site secure; moving to Joomla 6 is a separate step.

Official `libraries/src/Version.php` in 5.4.12 defines `MAJOR_VERSION` 5, `MINOR_VERSION` 4, `PATCH_VERSION` 12. The same file in 6.2.2 defines 6, 2 and 2. Joomla 3.10 and 4.x use the same path. Joomla 2.5 uses `libraries/cms/version/version.php` with `$RELEASE` and `$DEV_LEVEL`. The 1.5 Version.php path was not confirmed in the current official repository tags and is UNVERIFIED.

Live CISA KEV catalogue 2026.11.30, released 2026-11-30T19:44:39.2733Z (19:44 GMT, 19:44 Europe/London), 1810 entries, does not list CVE-2026-133347.

## Checkers

`scripts/check-joomla-cve-2026-133347.sh` and `scripts/Check-JoomlaCve2026133347.ps1` are read only: no network, no file writes, no payloads. They never open `configuration.php`, `configuration.php-dist` or `configuration.php.dist`. They compare a version string, a saved Version.php file, a Joomla! install root (reading only the official Version.php path), or a CSV inventory with header `host,version,cache_handler`. Optional `--cache-handler` (file, unknown, or a non-file handler such as redis or memcached; default unknown) and optional `--list-cache` with `--root`. Optional `--host` labels a single-row run. PowerShell also accepts `-VersionString`, `-VersionFile`, `-Root`, `-Csv`, `-CacheHandler`, `-ListCache` and `-HostName`.

Verdicts:

- 1.5.0 through 5.4.11, and 6.0.0 through 6.2.1, with cache handler file or unknown, are AFFECTED.
- 5.4.12 or later on 5.x, and 6.2.2 or later on 6.x, are FIXED.
- An affected version with a non-file cache handler is REVIEW. That is the official workaround, not a vendor upgrade.
- Versions before 1.5.0, and 7.x or later, are REVIEW (outside the streams named in the advisory).
- Unparseable version strings are REVIEW and the input is printed as `(not shown)`.
- Branches with no patched release named in the advisory (1.5 through 4.x, 5.0-5.3, and 6.0-6.1) stay AFFECTED until you upgrade to 5.4.12 or 6.2.2. The checker prints that there is no in-branch fix, and notes that Joomla! 5.4 receives security fixes only until 12 October 2027.

On a multi-row CSV the worst result wins: AFFECTED, then REVIEW, then FIXED.

Exit codes:

| 0 | FIXED | at least one row is 5.4.12+ on 5.x or 6.2.2+ on 6.x, and nothing is AFFECTED or REVIEW |
| 2 | AFFECTED | at least one row is in the official affected range and is not marked as using the non-file workaround |
| 3 | REVIEW | nothing is AFFECTED, and at least one row is unverified, mitigated only, or unparseable |
| 5 | usage or read error | missing options, a missing file, a denied configuration file, a bad CSV header, or a duplicated option |

Every non-usage run prints Patch now regardless. Examples:

    bash scripts/check-joomla-cve-2026-133347.sh --version 5.4.11
    bash scripts/check-joomla-cve-2026-133347.sh --version 5.4.11 --cache-handler redis
    bash scripts/check-joomla-cve-2026-133347.sh --version 5.4.12
    bash scripts/check-joomla-cve-2026-133347.sh --root /var/www/joomla --cache-handler file --list-cache
    bash scripts/check-joomla-cve-2026-133347.sh --csv inventory.csv

Do not pass `configuration.php` to `--version-file` or `--root`. The checker refuses those names without opening them.

## KQL and Sigma

Eleven KQL hunts in `kql/joomla-cve-2026-133347-hunting.kql` and seven Sigma rules in `sigma/`. Every hunt and rule is labelled OUR PATTERN. The KQL in this pack has NOT been run against a live tenant. Sigma descriptions include the line that the rules were not run against live data. Replace the Joomla! host list and the RFC 5737 management-range placeholders with your values. Official file cache objects are `.php` files; do not treat a `.php` file in `cache/` or `administrator/cache/` as a web shell on its own.

Converted Sigma output lives in `sigma/converted/`. Some pipelines have documented conversion failures; see that folder after `tests/run_all.sh` with `REGEN=1`.

## Manual checks (no payloads)

These are operator steps only. This pack's checkers do not perform them, except for the optional filename listing under `--list-cache`.

1. In the Joomla! administrator, open System, Update, Joomla, and confirm the version. Upgrade to 5.4.12 or 6.2.2. Make a backup first (official announcement).
2. If you cannot upgrade immediately, open Global Configuration and set Cache Handler to something other than File (official workaround).
3. To confirm `$cache_handler` without printing secrets: prefer the Global Configuration UI. If you must inspect `configuration.php`, look only at the `$cache_handler` line and do not print `$password`, `$secret`, `$smtppass` or other credential fields. This pack's checkers will not open that file.
4. Read only the official version file: `libraries/src/Version.php` (or `libraries/cms/version/version.php` on 2.5). Do not open `configuration.php`.
5. Review `cache/` and `administrator/cache/` for unexpected files. Official File cache storage writes `.php` files there. Record names, types and timestamps; do not dump file contents into tickets. The checker's `--list-cache` option does only that listing.
6. Review administrator logins, Global Configuration changes, and web logs for `/administrator/` access from unexpected addresses. If you find tampering, rotate credentials, isolate the host, and rebuild after patching. This is OUR advice, not a quoted Joomla! step.
7. Patch now regardless.

## Unverified

- The exact Version.php path on Joomla! 1.5 (not confirmed in current official repository tags).
- Whether disabling cache (`$caching = 0` in the official dist file) is by itself a complete workaround. The advisory names only a change of Cache Handler.
- Web and application log line formats, and exact Defender or firewall ActionType values.
- Parent process names for PHP or the web server on your hosts.
- A live-tenant test of the KQL or Sigma rules.
- Whether a later 7.x release (or a later KEV listing after catalogue 2026.11.30) changes the verdict.
- Any in-the-wild exploitation after 1 Dec 2026. The advisory and CVE record do not report it as of that date.

## Differences from the original flag

The original flag is accurate on the lead facts: affected 1.5.0-5.4.11 and 6.0.0-6.2.1, fixed 5.4.12 and 6.2.2, official File cache-handler workaround, the protection-header mechanism, CVE.org CVSS 4.0 9.4 Critical with PR:H, Joomla! Impact: Critical / Severity: Moderate / Probability: Moderate, published 1 Dec 2026 (16:24 GMT on CVE.org, 17:17 GMT on NVD), no exploitation reported in the advisory, and not in KEV catalogue 2026.11.30. Nuances:

1. The advisory does not contain a positive statement about in-the-wild use. This pack uses: no exploitation reported by Joomla! as of 1 Dec 2026; not listed in CISA KEV as of 1 Dec 2026 (catalogue 2026.11.30, released 30 Nov 2026 at 19:44 GMT, 1810 entries).
2. Official `JPATH_CACHE` in 5.4.12 is `administrator/cache`. The official tree also ships a top-level `cache/` directory. Review both.
3. Official File cache storage writes `.php` files. Do not treat those as web shells on their own.
4. Branches 1.5-4.x, 5.0-5.3 and 6.0-6.1 have no patched release in the advisory; upgrade to 5.4.12 or 6.2.2. Official 5.4 security-fix support runs until 12 October 2027. This pack does not invent earlier end-of-support dates for 1.5-4.x.
5. CVE.org and NVD do not yet list a CVSS v3 score. Use the verified CVSS 4.0 9.4 Critical figure only, and keep Joomla!'s own Moderate severity / Moderate probability rating beside it.
6. Finder credits on the advisory and CVE.org were removed from this pack. Credit security researchers only.

## Notes for the web page

1. Attach pack slot `joomla-cve-2026-133347-pack-v1` and the store folder `threat-hunt/joomla-cve-2026-133347-2026-12/`.
2. Title the page as Joomla! Core CVE-2026-133347, advisory [20261201], PHP object injection through file cache guard handling.
3. Put CVE.org CVSS 4.0 9.4 Critical (PR:H, vector as above) on the same line as the word Critical. Also state Joomla!'s own rating: Impact: Critical, Severity: Moderate, Probability: Moderate (CVE.org CVSS 4.0 9.4 Critical).
4. Use: no exploitation reported by Joomla! as of 1 Dec 2026; not listed in CISA KEV as of 1 Dec 2026 (catalogue 2026.11.30). Do not write a flat denial of use.
5. Affected: 1.5.0-5.4.11 and 6.0.0-6.2.1. Fixed: 5.4.12 and 6.2.2. Say that 1.5-4.x, 5.0-5.3 and 6.0-6.1 have no in-branch patched release.
6. Lead with the official upgrade, then the official workaround (Cache Handler other than File in Global Configuration). Official announcement: update immediately and make a backup first.
7. Credit security researchers only. Name no reporter, firm, team or programme. Do not link to any exploit repository.
8. Mark hunting advice as OUR PATTERN. Do not invent payloads. Note that official file cache objects are `.php` files under `cache/` and `administrator/cache/`.
9. Tell operators not to open or print `configuration.php` in tickets (it holds database, SMTP and `$secret` values). Confirm `$cache_handler` in the UI, or inspect only that one line.
10. Include the live-tenant KQL caveat, the BOD 26-04 KEV caveat (US federal agencies only), and Patch now regardless.
11. If a standalone hunting.kql upload is blocked, keep the file inside the KQL zip and the full-pack zip.
12. Cite the Joomla! Security Centre advisory, the official 6.2.2 / 5.4.12 announcement, official GitHub releases, CVE.org, NVD and CISA. Do not cite other blogs or repositories.

## Layout

- `scripts/check-joomla-cve-2026-133347.sh` and `scripts/Check-JoomlaCve2026133347.ps1`
- `kql/joomla-cve-2026-133347-hunting.kql`
- `sigma/` and `sigma/converted/`
- `tests/` (including `tests/run_all.sh`)
- `README.md` and `CHANGELOG.md`
