What’s Vulnerable › Vulnerabilities

CVE-2026-84798: Craft CMS before 5.10.11 Authorization Bypass via actionDeleteForSite

Description

Craft CMS versions >= 5.0.0-RC1 and < 5.10.11 fail to perform an independent authorization check in ElementsController::actionDeleteForSite(). The method loads an element with checkForProvisionalDraft enabled and runs the deletion authorization check against the user's own provisional draft (which only verifies draft ownership), then propagates the deletion to the canonical element without re-checking permissions. As a result, an authenticated user who has viewEntries, viewPeerEntries, saveEntries, savePeerEntries, and editSite permissions but lacks the deleteEntriesForSite permission can hard-delete a canonical entry's site record (and, for single-site entries, the full element and content), which is irrecoverable via Craft's recycle bin.

Affected products

How to fix

Upgrade to a fixed version: craftcms cms 5.10.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-84798 or the next vulnerability affects your stack