The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Saturday, 21 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

Craft CMS CVE-2026-130675: Critical Flaw Fixed in 5.11.4 — Update Now

By The Daily Byte ·19 Nov 2026 ·3 min read
A developer typing computer code on a laptop with code on monitors behind, illustrating the Craft CMS software flaw

Craft CMS has fixed a critical remote code execution vulnerability, tracked as CVE-2026-130675, and website owners running affected versions should update to Craft CMS 5.11.4 or later without delay. The flaw was published on 18 November 2026, and the vendor's security advisory confirms that an unauthenticated remote attacker can execute PHP code in the right circumstances.

The vulnerability sits in the way Craft CMS handles image transforms. According to the Craft CMS security advisory, the ImageTransforms::normalizeTransform() method tries to stop an attacker-controlled image transform array from choosing which PHP class is created. Its guard uses isset() checks, but the array spread lets supplied input overwrite the fixed class entry. An attacker can therefore supply a transform with class set to null and a __class key naming another class, such as yii\rbac\PhpManager, and Craft will instantiate that class with attacker-controlled properties.

How the flaw can be reached

The advisory explains that the vulnerable method can be reached through Craft Commerce. Its payments/pay redirect template renders a sandboxed order object template, and a public site user with a profile photo can call customer.photo.getUrl() with a crafted transform. That route is what turns a coding mistake in image handling into a remote code execution risk for sites that run Craft Commerce with user profile photos.

All Craft CMS versions from 5.0.0 up to 5.11.3 are affected, and the fix is in version 5.11.4. Vulnerability listings published on 18 November 2026, including StackFlag's record for CVE-2026-130675, confirm the affected range and the fixed version. There is no known evidence that the flaw has been exploited in the wild, but the public advisory now gives attackers the technical detail, so unpatched sites should not wait.

A second critical flaw fixed in the same release

Version 5.11.4 also fixes a second critical remote code execution flaw, CVE-2026-130674. A separate Craft CMS advisory says an earlier blocklist fix was incomplete: the ZipArchive class was not covered by that fix, and a further class, XMLWriter, was also missed. An attacker who can author an entry type's title format can use either class to write arbitrary content to an arbitrary path through Craft's non-sandboxed renderObjectTemplate() renderer, and that escalates to full remote code execution when the written file lands in the web document root. The same update to 5.11.4 closes both flaws.

What site owners should do

Update Craft CMS to 5.11.4 or later as soon as possible, and update Craft Commerce at the same time if it is installed. Sites that cannot update immediately should restrict who can upload profile photos and review any custom templates that pass user-supplied data into image transforms. After updating, check logs for unusual image transform requests and confirm the site is running the fixed version.

Frequently asked questions

Which Craft CMS versions are affected by CVE-2026-130675?
Versions from 5.0.0 up to 5.11.3 are affected. Version 5.11.4 fixes the flaw.

Is CVE-2026-130675 being exploited?
No exploitation had been publicly reported when the flaw was published on 18 November 2026, but the advisory is public, so patching promptly is the safe course.

Does the fix cover CVE-2026-130674 as well?
Yes. Updating to Craft CMS 5.11.4 or later fixes both critical flaws.

Source
Craft CMS Security Advisory (GitHub) — https://github.com/craftcms/cms/security/advisories/GHSA-hq78-cm2m-h24h