CVE-2024-56145: Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled

critical KEV Affects craftcms/cms. Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified ; listed on CISA KEV 2025-06-02.

Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled

Package
craftcms/cms Composer
Affected versions
>=5.0.0-RC1 and <5.5.2 or >=4.0.0-RC1 and <4.13.2 or >=3.0.0 and <3.9.14
Fixed in
5.5.2, 4.13.2, 3.9.14
Severity
critical  CVSS 9.8
Exploitation
KEV listed by CISA as actively exploited · EPSS 97% (99.9th percentile)
Published
2024-12-18
Source
osv.dev

References

CWE-78CWE-94
NVD recordcraftcms/cms advisories

Quick answers

Is CVE-2024-56145 being actively exploited?

Yes. It is on CISA's Known Exploited Vulnerabilities list (added 2025-06-02), which means attackers are using it now.

Which version fixes CVE-2024-56145?

craftcms/cms: 5.5.2, 4.13.2, 3.9.14.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories