Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-50283— Craft CMS: Unauthorized Deletion of Source Assets During File Replacement

Quick assessment

Affected
craftcms cms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CraftCMS cms是CraftCMS的内容管理系统。 CraftCMS CMS存在授权问题漏洞,该漏洞源于AssetsController::actionReplaceFile中的授权问题,通过同时提供assetId和sourceAssetId,可能导致已认证用户在没有源资产删除权限的情况下删除另一卷中的资产。以下版本受到影响:5.0.0-RC1至5.9.20版本和4.0.0-RC1至4.17.13版本。

AI Predicted 8.1 Difficulty: Moderate EPSS 0.36% · P28

Affected Version Matrix 2

VendorProduct Version RangeStatus
craftcms cms >= 5.0.0-RC1, < 5.9.21 affected
>= 4.0.0-RC1, < 4.17.14 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50283

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft CMS: Unauthorized Deletion of Source Assets During File Replacement
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
CraftCMS CMS 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CraftCMS cms是CraftCMS的内容管理系统。 CraftCMS CMS存在授权问题漏洞,该漏洞源于AssetsController::actionReplaceFile中的授权问题,通过同时提供assetId和sourceAssetId,可能导致已认证用户在没有源资产删除权限的情况下删除另一卷中的资产。以下版本受到影响:5.0.0-RC1至5.9.20版本和4.0.0-RC1至4.17.13版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms >= 5.0.0-RC1, < 5.9.21 -

II. Public POCs for CVE-2026-50283

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50283

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-50283 (1)

Vendor Advisories for CVE-2026-50283 (1)

Same Patch Batch · craftcms · 2026-07-01 · 9 CVEs total

CVE-2026-50284 Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows
CVE-2026-50280 Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section sa
CVE-2026-50279 Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authori
CVE-2026-55793 Craft CMS: Stored XSS via Structure entry title in table view
CVE-2026-55790 Craft CMS: DOM XSS via GitHub issue title in CraftSupport widget
CVE-2026-55792 Craft CMS: Sensitive File Disclosure / Server-Side File Read
CVE-2026-55791 Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in acti
CVE-2026-55794 Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

IV. Related Vulnerabilities

V. Comments for CVE-2026-50283

No comments yet


Leave a comment