Advisory record · GHSA-7h62-6v23-v8fm

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

CVSS 7.1 HighEPSS 0.0039 · 33rd percentile

Published by the GitHub Advisory Database at 2 Jul 2026, 18:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.9.22 || >=4.0.0-RC1, <4.17.155.9.22, 4.17.15
Identifiers
GHSA-7h62-6v23-v8fm · CVE-2026-50284 · PKSA-fd42-dyd4-g3dq
Weakness (CWE)
CWE-862
Published
2 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS (Packagist craftcms/cms) versions 4.0.0-RC1 up to 4.17.15 and 5.0.0-RC1 up to 5.9.22 are affected. The delete-folder action checks only the folder-deletion permission and not the peer-asset deletion permission, so a user with folder-delete rights on a shared volume can delete folders and assets uploaded by other users. The attacker needs an account with deleteAssets but not deletePeerAssets on that volume, and the source describes permanent loss of peer-owned files and folder structure with no information disclosure. Upgrade to Craft CMS 4.17.15 or 5.9.22.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0039, the 33rd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 29 May 2026, 00:21 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:00 UTC First seen by agentprime
  3. 31 Oct 2026, 14:00 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.