Quick answers
- Is CVE-2026-50284 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50284 being exploited in the wild.
- How severe is CVE-2026-50284?
- High severity, with a CVSS score of 4, published 1 July 2026.
- Which products and versions are affected?
- craftcms/cms (Packagist) ECOSYSTEM:introduced=5.0.0-RC1,fixed=5.9.22.
- Is there a fix for CVE-2026-50284?
- Yes. craftcms/cms (Packagist): upgrade to 5.9.22 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-50284 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-50284?
- Check whether you run craftcms/cms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- craftcms/cms (Packagist): upgrade to 5.9.22 or later
composer require craftcms/cms:^5.9.22
Technical details
A missing authorization check exists in the `AssetsController::actionDeleteFolder` endpoint of Craft CMS. While the system correctly checks for 'deletePeerAssets' permissions when deleting individual files, the folder deletion logic only verifies the 'deleteAssets' permission for the target folder itself. Because `Assets::deleteFoldersByIds()` performs a cascading delete of all descendant folders and assets without re-verifying ownership or peer-deletion rights, an authenticated attacker with folder-management rights can destroy any asset within that folder structure regardless of the uploader. This vulnerability affects versions 4.x and 5.x and has been patched in versions 4.17.15 and 5.9.22.
Affected products
- Pixel & Tonic Craft CMS >= 4.0.0-RC1, < 4.17.15
- Pixel & Tonic Craft CMS >= 5.0.0-RC1, < 5.9.22
Identifiers
- CVE-2026-50284
- GHSA-7h62-6v23-v8fm
Timeline
- 2026-05-29: disclosed
- 2026-07-01: kev added: NVD Published Date
- 2026-07-02: advisory