CVE-2026-50283
Last modified
CVE-2026-50283 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 through 5.9.20, and 4.0.0-RC1 through 4.17.13 contain an authorization issue in the AssetsController::actionReplaceFile that can delete a source asset without source delete permission by supplying both assetId and sourceAssetId. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 through 5.9.20, and 4.0.0-RC1 through 4.17.13 contain an authorization issue in the AssetsController::actionReplaceFile that can delete a source asset without source delete permission by supplying both assetId and sourceAssetId. AssetsController::actionReplaceFile() supports replacing a target asset file using another existing asset as the source. The action loads: assetId -> $assetToReplace and sourceAssetId -> $sourceAsset, then enforces replace permissions using ($assetToReplace ?: $sourceAsset). When both IDs are provided, this expression resolves to the target asset so no permission check is performed against the source asset volume. When both assets are present, Craft copies the source file into the target and then deletes the source asset. There is no deletion check for for the source asset. An authenticated user who can replace files in one volume can delete assets in another volume where they do not have delete permission, as long as they can obtain a sourceAssetId, leading to broken content references and data loss. This issue has been fixed in versions 4.17.14 and 5.9.21.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 5.0.0-RC1, < 5.9.21; >= 4.0.0-RC1, < 4.17.14 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50283?
How severe is CVE-2026-50283?
How do I fix CVE-2026-50283?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50274Datadog dd-trace-go is a Go client library for Datadog appli…7.5
- CVE-2026-50279Craft CMS is a content management system (CMS). IN versions …7.6
- CVE-2026-5028The Eight Day Week Print Workflow plugin for WordPress is vu…6.5
- CVE-2026-50280Craft CMS is a content management system (CMS). In versions …6
- CVE-2026-50281Craft CMS is a content management system (CMS). Versions 5.7…7.1
- CVE-2026-50282Craft CMS is a content management system (CMS). Versions 5.0…4.9
- CVE-2026-50284Craft CMS is a content management system (CMS). In versions …7.1
- CVE-2026-50287AgenticMail gives AI agents real email addresses and phone n…8.7
- CVE-2026-50289systeminformation is a System and OS information library for…8.8
- CVE-2026-5029A remote code execution vulnerability exists in Code Runner …8.7
- CVE-2026-50292In libinput before 1.30.4 and 1.31.x before 1.31.3, libinput…9.8
- CVE-2026-50293Use after free in Windows Internal Task Bar allows an author…7.8
Are you affected by CVE-2026-50283?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
