# CVE-2026-50284: Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows deletion of other users' assets

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-01T22:37:30.334Z
- Modified: 2026-10-25T21:10:00.770Z
- Also known as: GHSA-7h62-6v23-v8fm
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Craft CMS is a content management system (CMS). In versions 5.0.0-RC1 through 5.9.21 and 4.0.0-RC1 through 4.17.14, theAssetsController::actionDeleteFolder() only requires the deleteAssets:<volume-uid> permission for the target folder. It never enforces deletePeerAssets:<volume-uid>, even though Assets::deleteFoldersByIds() cascades deletion to every descendant folder and every asset inside, regardless of the uploader's assigned privileges. A low-privilege user who has been granted folder-management rights on a shared volume can therefore destroy assets uploaded by other users (peer assets), bypassing the per-asset peer-permission check that the sibling actionDeleteAsset endpoint correctly applies. This issue has been fixed in versions 4.17.15 and 5.9.22.

(As written by CVE List.)

## Affected

- craftcms cms: =>= 5.0.0-RC1, < 5.9.22; >= 4.0.0-RC1, < 4.17.15
- craftcms/cms (Packagist): from 5.0.0-RC1 before 5.9.22; from 4.0.0-RC1 before 4.17.15

## Every score

- GitHub_M: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-7h62-6v23-v8fm> (web)
- <https://github.com/craftcms/cms/commit/b4e08977f0c9bdf002a77f9f6d1346cd55ac0598> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50284> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-50284](https://www.cve.org/CVERecord?id=CVE-2026-50284), CVE Terms of Use, modified 2026-07-02
- GitHub Advisory Database: [GHSA-7h62-6v23-v8fm](https://github.com/advisories/GHSA-7h62-6v23-v8fm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-50284](https://nvd.nist.gov/vuln/detail/CVE-2026-50284), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-50284 · Whole record: https://cve.day/CVE-2026-50284.json · Rebuilt by cve.day 2026-11-25T22:59:26.984Z
