{"id":"CVE-2026-50279","aliases":["GHSA-qq2c-2q8j-jh27"],"url":"https://o3.security/vulnerability/CVE-2026-50279","summary":"Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authorization gap","details":"Craft CMS is a content management system (CMS). IN versions 5.0.0-RC1 and above prior to 5.9.21, theEntriesController::actionSaveEntry() performs entry-edit permission checks before request-controlled author changes are applied to the model, allowing for authorship spoofing. 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. This issue has been fixed in version 5.9.21.","published":"2026-07-01T23:31:31.101Z","modified":"2026-08-12T03:51:08.143167051Z","cvss":null,"epss":{"score":0.00245,"percentile":0.1611,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"5.9.21"}],"fix":{"url":"https://github.com/craftcms/cms/commit/9cc493be8b414d7116c7f2bc2a6d0926e73f1248","label":"craftcms/cms@9cc493b"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50279.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-qq2c-2q8j-jh27"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50279"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/9cc493be8b414d7116c7f2bc2a6d0926e73f1248"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:08.143167051Z"}}