Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-50279

CVE-2026-50279: Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authorization gap

July 2, 2026

EntriesController::actionSaveEntry() performs entry-edit permission checks before request-controlled author changes are applied to the model. The subsequent author mutation path accepts attacker-supplied authors / author parameters and allows the change when the current user is one of the old authors. Because the controller does not re-run authorization after mutating the author list, a low-privileged user can reassign an entry’s authorship to another user without holding the dedicated peer-author-change permission.

References

  • github.com/advisories/GHSA-qq2c-2q8j-jh27
  • github.com/craftcms/cms/commit/9cc493be8b414d7116c7f2bc2a6d0926e73f1248
  • github.com/craftcms/cms/security/advisories/GHSA-qq2c-2q8j-jh27
  • nvd.nist.gov/vuln/detail/CVE-2026-50279

Code Behaviors & Features

Detect and mitigate CVE-2026-50279 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0-RC1 before 5.9.21

Fixed versions

  • 5.9.21

Solution

Upgrade to version 5.9.21 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

packagist/craftcms/cms/CVE-2026-50279.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:22:50 +0000.