{"id":"CVE-2025-54417","aliases":["CVE-2025-54417","GHSA-2vcf-qxv3-2mgw"],"related":[],"kind":"vulnerability","state":"published","title":"Craft contains a theoretical bypass for CVE-2025-23209","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"**Pre-requisites:**\n\n* Have a compromised security key (https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret)\n* Somehow, manage to create an arbitrary file in Craft’s `/storage/backups` folder.\n\nWith those two pieces in place, you could create a specific, malicious request to the `/updater/restore-db` endpoint to execute CLI commands remotely.\n\nFixed in https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57\n\n-----\n\nReported by Marco O. (segfault)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Craft es una plataforma para crear experiencias digitales. Las versiones 4.13.8 a 4.16.2 y 5.5.8 a 5.8.3 contienen una vulnerabilidad que puede eludir la CVE-2025-23209: \"Craft CMS tiene un posible RCE con una clave de seguridad comprometida\". Para explotar esta vulnerabilidad, el proyecto debe cumplir estos requisitos: tener una clave de seguridad comprometida y crear un archivo arbitrario en la carpeta /storage/backups de Craft. Con estos criterios, los atacantes podrían crear una solicitud maliciosa específica al endpoint /updater/restore-db y ejecutar comandos CLI de forma remota. Este problema se ha corregido en las versiones 4.16.3 y 5.8.4.","source":"nvd"}],"published":"2025-08-08T19:32:50.000Z","modified":"2026-06-17T09:40:03.973Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 4.13.8, < 4.16.3","status":"affected"},{"version":">= 5.5.8, < 5.8.4","status":"affected"}],"vendor":"craftcms","product":"cms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.13.8","status":"affected","fixed":"4.16.3"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.5.8","status":"affected","fixed":"5.8.4"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.13.8","fixed":"4.16.3"},{"status":"affected","introduced":"5.5.8","fixed":"5.8.4"}],"vendor":"craftcms","product":"craft_cms","cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-2vcf-qxv3-2mgw","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23209","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54417","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/cms","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-08-11T13:38:12.800Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54417","url":"https://www.cve.org/CVERecord?id=CVE-2025-54417","licence":"CVE Terms of Use","modified":"2025-08-11T13:38:51.609Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2vcf-qxv3-2mgw","url":"https://github.com/advisories/GHSA-2vcf-qxv3-2mgw","licence":"CC-BY-4.0","modified":"2025-08-11T14:33:27.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54417","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54417","licence":"Public domain","modified":"2026-06-17T09:40:03.973Z"}],"updatedAt":"2026-11-25T22:59:02.219Z","epss":{"score":0.0057,"percentile":0.48539,"date":"2026-12-01T12:00:22.000Z"}}