{"id":"CVE-2025-54417","published":"2025-08-09T01:31:23Z","modified":"2025-08-11T13:38:51Z","title":"Craft contains a theoretical bypass for CVE-2025-23209","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft is a platform for creating digital experiences. Versions 4.13.8 through 4.16.2 and 5.5.8 through 5.8.3 contain a vulnerability that can bypass CVE-2025-23209: \"Craft CMS has a potential RCE with a compromised security key\". To exploit this vulnerability, the project must meet these requirements: have a compromised security key and create an arbitrary file in Craft's /storage/backups folder. With those criteria in place, attackers could create a specific, malicious request to the /updater/restore-db endpoint and execute CLI commands remotely. This issue is fixed in versions 4.16.3 and 5.8.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.2,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.44833,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-2vcf-qxv3-2mgw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"CVSS severity","points":3.64}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 4.13.8, < 4.16.3",">= 5.5.8, < 5.8.4"]}],"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=4.13.8, <4.16.3",">=5.5.8, <5.8.4"],"patched":["4.16.3","5.8.4"],"from":["GHSA-2vcf-qxv3-2mgw"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-24040","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-craft-cms-cve-2025-23209","parents":[{"from":"CVE-2025-23209","to":"CVE-2025-54417","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"Versions 4.13.8 through 4.16.2 and 5.5.8 through 5.8.3 contain a vulnerability that can bypass CVE-2025-23209: \"Craft CMS has a potential RCE with a compromised security key\".","from":"CVE.org","in":"CVE-2025-54417"},{"kind":"osv-related","provenance":"source","id":"GHSA-2vcf-qxv3-2mgw","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23209"},{"kind":"same-code","provenance":"machine","files":["src/controllers/UpdaterController.php"],"commits":["https://github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603","https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57"],"basis":"shared function","functions":["actionBackup"]}]}],"packageHistory":[{"cve":"CVE-2025-46731","published":"2025-05-05","fixed":"5.6.15","kev":false},{"cve":"CVE-2025-32432","published":"2025-04-25","fixed":"5.6.17","kev":true},{"cve":"CVE-2025-35939","published":"2025-05-07","fixed":"5.7.5","kev":true,"link":{"from":"CVE-2025-35939","to":"CVE-2025-54417","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.15.3","toFixed":"4.16.3","daysApart":94},{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"5.7.5","toFixed":"5.8.4","daysApart":94}]}},{"cve":"CVE-2025-54417","published":"2025-08-09","fixed":"5.8.4","kev":false},{"cve":"CVE-2025-57811","published":"2025-08-25","fixed":"5.8.7","kev":false,"link":{"from":"CVE-2025-54417","to":"CVE-2025-57811","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.16.3","toFixed":"4.16.6","daysApart":16},{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"5.8.4","toFixed":"5.8.7","daysApart":16},{"kind":"similar","provenance":"machine","score":0.28,"basis":"same product + description similarity"}]}},{"cve":"CVE-2025-68436","published":"2026-01-05","fixed":"5.8.21","kev":false},{"cve":"CVE-2025-68437","published":"2026-01-05","fixed":"5.8.21","kev":false}],"package":"Packagist:craftcms/cms"}}