Actively exploited EPSS 97% Craft CMS Craft CMS CWE-94

CVE-2024-56145: Craft CMS Code Injection Vulnerability

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.

Why it matters

CISA added CVE-2024-56145 to its Known Exploited Vulnerabilities (KEV) catalog on 2025-06-02 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. US federal agencies had to remediate it by 2025-06-23, and it is a high priority for everyone else too.

How to fix it

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Details

Affected open-source packages

The GitHub Advisory Database links CVE-2024-56145 to this package. Each page lists every advisory for the package, the affected versions and the fixed release:

Is CVE-2024-56145 in your fleet?

SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.