Craft CMS is a content management system (CMS). Versions 5.7.0 and above, prior to 5.9.21 contain a mass-assignment flaw in the bulk-duplicate element action. An attacker who is only able to duplicate their own entires can submit an arbitrary id through the newAttributes request parameter. The duplication routine overrides its own id = null reset with that value and writes the attacker's attributes into the victim's existing entry row. ElementsController::beforeAction() pulls the request body into $this->_attributes and rejects requests that ship an id or canonicalId key at the top level, actionBulkDuplicate(), reads a separate newAttributes array and passes it straight through to the service layer. Elements::duplicateElement() clones the source element, sets id to null, and then hands the attacker's array to Craft::configure(), which overwrites the reset id with any numeric value inside $newAttributes. PHP Yii's saveElement() then performs an UPDATE against the row with that primary key instead of an INSERT. The attackers's title, slug, authorId, postDate, and UID land on the victim's entry. safeAttributes() on Entry includes id because the base element model exposes it, so the Collection::only() filter does not strip it. This issue has been fixed in version 5.9.21.
CVE-2026-50281
This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 63% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.1
- EG Score
- 7.1HIGHmedium confidence
- EG Risk
- 37EG Risk 37/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity71% × 45%Exploitation0% × 40%Automatability30% × 15% - EPSS PROB
- 0.4%
- EPSS %ILE
- 35th
- KEV
- Not listed
Published
July 2, 2026
Last Modified
July 2, 2026
Advisory Details (2)
Auto-updated Jul 2, 2026Mass assignment via id in newAttributes during bulk duplicate overwrites existing elements · Advisory · craftcms/cms · GitHub
https://github.com/craftcms/cms/security/advisories/GHSA-x5m4-g2cq-52pqcommit 8f6587c25050 (craftcms/cms)
Patch available: craftcms/cms 5.9.21 (contains commit 8f6587c25050)
https://github.com/craftcms/cms/commit/8f6587c25050bbb6e080d59c71f6bb8932fc8600Vendor Advisories for CVE-2026-50281(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| craftcms/cms | 5.7.0 ... 5.9.9 (64 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 27× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 135 total refreshes for this CVE.
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:12 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-26 00:27 UTCEPSS rescore
- 2026-09-23 17:53 UTCEPSS rescore
- 2026-09-23 06:38 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 06:14 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-14 00:15 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 08:59 UTCEG score recompute
- 2026-09-12 14:15 UTCEG score recompute
Show 75 moreShow fewer
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 14:19 UTCEG score recompute
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 23:53 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-30 23:59 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 11:22 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 22:14 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 22:53 UTCEG score recompute
- 2026-08-24 10:16 UTCEG score recompute
- 2026-08-23 07:57 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 06:39 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 05:28 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 04:02 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 00:22 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 22:51 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 19:43 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 07:07 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 06:00 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 04:43 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 14:56 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 13:49 UTCEG score recompute
- 2026-08-11 01:15 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 00:08 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 22:59 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 21:52 UTCEG score recompute
- 2026-08-06 20:45 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 19:36 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:43 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 14:36 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 13:28 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 12:20 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 22:01 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 08:30 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 17:34 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 15:52 UTCEG score recompute
- 2026-07-27 01:37 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 13:03 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
10 shownPackagist:craftcms/cms
- CVE-2025-32432EG 10.0 KEVEPSS p100CRITICAL
- CVE-2026-32267EG 9.8CRITICAL
- CVE-2024-56145EG 9.8 KEVEPSS p100CRITICAL
- CVE-2024-37843EG 9.8EPSS p99CRITICAL
- CVE-2023-41892EG 9.8EPSS p100CRITICAL
- CVE-2021-27903EG 9.8CRITICAL
- CVE-2019-15929EG 9.8CRITICAL
- CVE-2026-28783EG 9.1CRITICAL
- CVE-2026-28697EG 9.1CRITICAL
- CVE-2025-68456EG 9.1CRITICAL
Frequently asked(5)
What is CVE-2026-50281?
When was CVE-2026-50281 disclosed?
Is CVE-2026-50281 actively exploited?
What is the CVSS score of CVE-2026-50281?
How do I remediate CVE-2026-50281?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50281
Is Your Infrastructure Affected by CVE-2026-50281?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.