CVE-2026-50281

HIGHPre-NVD 7.17.1
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 83% 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).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Trending — 3 sources updated this week
7.1
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 7.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
7.1
EG Score
7.1(medium)
EPSS
16.6%
KEV
Not listed

Published

July 2, 2026

Last Modified

July 2, 2026

Advisory Details (2)

Auto-updated Jul 2, 2026
Patch available. Sources: github_commit, github.
github Patch Available

Mass 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-52pq
github_commit Patch Available

commit 8f6587c25050 (craftcms/cms)

Patch available: craftcms/cms 5.9.21 (contains commit 8f6587c25050)

https://github.com/craftcms/cms/commit/8f6587c25050bbb6e080d59c71f6bb8932fc8600

Vendor 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.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 15× in last 7d / 15× 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.

  1. 2026-07-07 02:41 UTCEG score recompute
  2. 2026-07-06 16:27 UTCEPSS rescore
  3. 2026-07-06 14:07 UTCEG score recompute
  4. 2026-07-06 02:23 UTCEPSS rescore
  5. 2026-07-06 01:32 UTCEG score recompute
  6. 2026-07-05 12:58 UTCEG score recompute
  7. 2026-07-05 02:30 UTCEPSS rescore
  8. 2026-07-05 00:25 UTCEG score recompute
  9. 2026-07-04 11:50 UTCEG score recompute
  10. 2026-07-04 06:31 UTCEPSS rescore
  11. 2026-07-03 23:16 UTCEG score recompute
  12. 2026-07-03 10:43 UTCEG score recompute
  13. 2026-07-02 22:07 UTCEG score recompute 7.10
  14. 2026-07-02 22:05 UTCNVD updateCVSS v3 → 7.1 · CVSS v4 → 7.1
  15. 2026-07-02 20:07 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-50281?
CVE-2026-50281 is a high vulnerability published on July 2, 2026. 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…
When was CVE-2026-50281 disclosed?
CVE-2026-50281 was first published in the National Vulnerability Database on July 2, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-50281 actively exploited?
CVE-2026-50281 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 16.6% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-50281?
CVE-2026-50281 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2026-50281?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-50281, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-50281

Explore →

Is Your Infrastructure Affected by CVE-2026-50281?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.