{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56145","id":"CVE-2024-56145","title":"RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms","description":"Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should dis","descriptionLong":"Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue.","published":"2024-12-18T20:37:34.301Z","updated":"2026-10-28T02:31:10.240940201Z","reserved":"2024-12-16T18:04:39.983Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["craftcms cms"],"affectedProducts":[{"vendor":"craftcms","product":"cms","defaultStatus":null,"versions":[{"version":">= 4.0.0-RC1, < 4.13.2","status":"affected"},{"version":">= 5.0.0-RC1, < 5.5.2","status":"affected"},{"version":">= 3.0.0, < 3.9.14","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"craftcms/cms","purl":"pkg:composer/craftcms/cms","ranges":[">=5.0.0-RC1 <5.5.2",">=4.0.0-RC1 <4.13.2",">=3.0.0 <3.9.14"],"fixed":["5.5.2","4.13.2","3.9.14"],"advisory":"GHSA-2p6p-9rc9-62j9"}],"cwes":["CWE-94","CWE-78"],"aliases":["GHSA-2p6p-9rc9-62j9"],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/Chocapikk/CVE-2024-56145","tags":["exploit","Exploit","evidence","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145","tags":["government-resource","US Government Resource","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56145.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56145","tags":["advisory"]},{"url":"https://github.com/craftcms/cms","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2025-06-02","kevDue":"2025-06-23","kevEntry":{"cveID":"CVE-2024-56145","vendorProject":"Craft CMS","product":"Craft CMS","vulnerabilityName":"Craft CMS Code Injection Vulnerability","dateAdded":"2025-06-02","shortDescription":"Craft CMS contains a code injection vulnerability. Users with affected versions are vulnerable to remote code execution if their php.ini configuration has `register_argc_argv` enabled.","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","dueDate":"2025-06-23","knownRansomwareCampaignUse":"Unknown","notes":"https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 ; https://nvd.nist.gov/vuln/detail/CVE-2024-56145","cwes":["CWE-94"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.97482,"epssPercentile":0.99901,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56145","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56145","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56145","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2p6p-9rc9-62j9","ok":true,"note":"GHSA-2p6p-9rc9-62j9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2025-06-02"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56145","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 97% with CVSS 9.3"],"attention":null}