CVE-2026-84800 PUBLISHED

Craft CMS 5.0.0-RC1 before 5.10.11 File Overwrite via assets/replace-file

Assigner: VulnCheck
Reserved: 02.09.2026 Published: 02.09.2026 Updated: 02.09.2026

Craft CMS versions >= 5.0.0-RC1 and < 5.10.11 contain a missing authorization vulnerability in AssetsController::actionReplaceFile. When a request supplies sourceAssetId and targetFilename but omits assetId, the target asset is resolved by folder and filename after the permission checks execute, so the replacePeerFiles permission is never enforced. An authenticated low-privilege author with only the replaceFiles permission on a shared folder can overwrite the content of a peer's asset file (located in the same folder) with attacker-controlled bytes. Fixed in 5.10.11.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 5.0.0-RC1 to 5.10.11 (excl.)
  • Version 5.10.11 is unaffected

References

Problem Types

  • Missing Authorization CWE