GHSA-43cq-c2gq-pfpw: Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section save check
Summary
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.
Details
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:
1. External source: authenticated CP request to entries/move-to-section.
2. Missing authorization check: destination section requires only viewEntries, not saveEntries.
3. Privileged sink: moveEntryToSection() rewrites sectionId and saves the entry into the unauthorized section.
Preconditions derived from the code:
1. The attacker is authenticated to the control panel.
2. Entry 345 is movable by the attacker from its current section.
3. The attacker can satisfy viewEntries on destination section 12.
4. The attacker does not have saveEntries:DESTINATION_UID, which is the missing check that makes the bypass possible.
Result:
1. The controller accepts the request because viewEntries:$section->uid passes.
2. Each source entry passes canMove() based on source-section permissions.
3. moveEntryToSection() updates the entry’s sectionId and saves it.
4. The entry is now located in a section where the attacker did not have write permission.
Impact
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 work
Details
Original advisory: https://github.com/advisories/GHSA-43cq-c2gq-pfpw
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-502800.27% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 19% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-50280 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
More from GitHub Security Advisories
- criticalGHSA-g936-7jqj-mwv8: TSDProxy: Internal proxy auth token forwarded to backend services enables management API …2026-07-10
- highGHSA-fpg8-7664-jc5q: melange: Incomplete package integrity verification allows data section substitution2026-07-10
- mediumGHSA-48rx-c7pg-q66r: Excon does not redact additional sensitive/risky headers when following redirects2026-07-10
- highGHSA-h4g2-xfmw-q2c9: Clauster: Non-loopback deployments can serve the dashboard unauthenticated when auth.enab…2026-07-10
- mediumGHSA-rqq5-2gf9-4w4q: Secure Headers: CSP directive injection via sandbox, plugin_types, and report_to when giv…2026-07-10