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

CVE-2026-28781: Craft CMS: Entries Authorship Spoofing via Mass Assignment

March 3, 2026 (updated March 4, 2026)

The entry creation process allows for Mass Assignment of the authorId attribute. A user with “Create Entries” permission can inject the authorIds[] (or authorId) parameter into the POST request, which the backend processes without verifying if the current user is authorized to assign authorship to others.

Normally, this field is not present in the request for users without the necessary permissions. By manually adding this parameter, an attacker can attribute the new entry to any user, including Admins. This effectively “spoofs” the authorship.

References

  • github.com/advisories/GHSA-2xfc-g69j-x2mp
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/830b403870cd784b47ae42a3f5a16e7ac2d7f5a8
  • github.com/craftcms/cms/commit/c6dcbdffaf6ab3ffe77d317336684d83699f4542
  • github.com/craftcms/cms/security/advisories/GHSA-2xfc-g69j-x2mp
  • nvd.nist.gov/vuln/detail/CVE-2026-28781

Code Behaviors & Features

Detect and mitigate CVE-2026-28781 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 4.0.0-RC1 before 4.17.0-beta.1, all versions starting from 5.0.0-RC1 before 5.9.0-beta.1

Fixed versions

  • 5.9.0-beta.1
  • 4.17.0-beta.1

Solution

Upgrade to versions 4.17.0-beta.1, 5.9.0-beta.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 06 Mar 2026 00:17:15 +0000.