Skip to main content
← All vulnerabilities
CVE-2026-84800

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • craftcms cms

    From 5.0.0-RC1 · fixed in 5.10.11

References 2

GitHub · craftcms/cms

vulncheck.com