CVE & CISA-KEV Catalog

CVE-2026-50281

HIGH
7.1
CVSS v4
NVD

Description

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.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v4 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone

Impact

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Exploit Intelligence

0.43%probability of exploitation in 30 days
36thpercentile

Low risk: more likely to be exploited than 36% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-915 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-4068Medium5.434%-Fix
CVE-2024-5452Critical9.827%-Fix
CVE-2026-30822High7.713%-Fix
CVE-2026-33453Critical10.06.2%--
CVE-2026-41277High8.83.1%-Fix
CVE-2022-43441High8.12.4%-Fix

Common questions

How do I fix CVE-2026-50281?

No published fix for CVE-2026-50281 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2026-50281 being actively exploited?

Not that we know of. CVE-2026-50281 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.43% is the estimated probability that it will be exploited in the next 30 days. That is higher than 36% of all scored CVEs.

How severe is CVE-2026-50281?

CVE-2026-50281 has a CVSS v4 base score of 7.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

Embed a live status badge for CVE-2026-50281
CVE-2026-50281 severity badge

Markdown

[![CVE-2026-50281](https://tridentstack.com/cve/badge/CVE-2026-50281.svg)](https://tridentstack.com/cve/CVE-2026-50281)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-50281"><img src="https://tridentstack.com/cve/badge/CVE-2026-50281.svg" alt="CVE-2026-50281"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-02.