NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-54417: Craft CMS has a theoretical bypass for CVE-2025-23209

mediumCVSS 4.0 5.2GHSA-2vcf-qxv3-2mgw

Pre-requisites: Have a compromised security key (https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret) Somehow, manage to create an arbitrary file in Craft’s /storage/backups folder. With those two pieces in place, you could create a specific, malicious request to the /updater/restore-db endpoint to execute CLI commands remotely.

Published Aug 8, 2025 · Updated Aug 11, 2025

Affected packages

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 4.13.8, < 4.16.3
Fixed in
4.16.3
Check
composer show craftcms/cms

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 5.5.8, < 5.8.4
Fixed in
5.8.4
Check
composer show craftcms/cms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Pre-requisites:

  • Have a compromised security key (https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret)
  • Somehow, manage to create an arbitrary file in Craft’s /storage/backups folder.

With those two pieces in place, you could create a specific, malicious request to the /updater/restore-db endpoint to execute CLI commands remotely.

Fixed in https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57

-----

Reported by Marco O. (segfault)

Credited to angrybrad, timkelty, segfault-it.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries