{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "5.0.0-RC1"
              },
              {
                "fixed": "5.9.21"
              },
              {
                "introduced": "4.0.0-RC1"
              },
              {
                "last_affected": "4.17.14"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
            },
            {
              "fixed": "887cc875cf041f6d0ecc55c7a0a687c41b402a24"
            },
            {
              "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
            },
            {
              "last_affected": "a8eda73630e3466ad8a48c5402555e49e1311592"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3w32-23wj-rxg3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50282.json"
  },
  "details": "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.",
  "id": "CVE-2026-50282",
  "modified": "2026-07-15T01:49:10.432798975Z",
  "published": "2026-07-02T16:15:25.823Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50282.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/security/advisories/GHSA-3w32-23wj-rxg3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50282"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Craft CMS: Unauthorized Deletion of Destination Folders During Forced Moves"
}