Loading advisory.
Loading advisory.
Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section save check
The EntriesController::actionMoveToSection() endpoint checks only whether the current user can view the destination section, but it does not require permission to save entries into that section.
Published 2026-07-01 23:43 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| craftcms/cms | Packagist | >= 5.0.0-RC1, < 5.9.21 versions 5.0.0, 5.0.0-RC1, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.1.0, 5.1.1, 5.1.10, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.1.7, 5.1.8, 5.1.9, 5.2.0 and 148 more | 5.9.21 | composer require 'craftcms/cms:>=5.9.21' |
The EntriesController::actionMoveToSection() endpoint checks only whether the current user can view the destination section, but it does not require permission to save entries into that section. A low-privileged authenticated control-panel user who can move an entry out of its current section can therefore move that entry into a different section where they have read access but no write access.
The vulnerable route is implemented in EntriesController.php:465:
The destination check is only viewEntries:$section->uid . The source-entry gate is Entry::canMove(), which verifies whether the user can move the existing entry based on the source section:
This closes the exploit chain:
External source: authenticated CP request to entries/move-to-section.
Missing authorization check: destination section requires only viewEntries, not saveEntries.
Privileged sink: moveEntryToSection() rewrites sectionId and saves the entry into the unauthorized section.
Preconditions derived from the code:
The attacker is authenticated to the control panel.
Entry 345 is movable by the attacker from its current section.
The attacker can satisfy viewEntries on destination section 12.
The attacker does not have saveEntries:DESTINATION_UID, which is the missing check that makes the bypass possible.
Result:
The controller accepts the request because viewEntries:$section->uid passes.
Each source entry passes canMove() based on source-section permissions.
moveEntryToSection() updates the entry’s sectionId and saves it.
The entry is now located in a section where the attacker did not have write permission.
This breaks the intended section-level authorization model. A user with limited content permissions can inject or relocate content into a protected section, interfering with editorial boundaries, approval workflows, section-specific business logic, and content ownership expectations.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |