# Craft CMS: 2 exploited vulnerabilities (CVE-2024-56145, CVE-2025-35939) · pwn.watch > CVE-2024-56145: 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. CVE-2025-35939: Craft CMS contains an external control of assumed-immutable web parameter vulnerability. This vulnerability could allow an unauthenticated client to introduce arbitrary values, such as PHP code, to a known local file location on the server. This vulnerability could be chained with CVE-2024-58136 as represented by CVE-2025-32432. Added to CISA KEV on 2025-06-02. Page: https://pwn.watch/i/craft-cms-cve-2024-56145 · generated 2026-10-23T01:02:50.524Z ## Status - Severity: critical · status: closed · patch: patched - Product: Craft CMS - Started: 2025-06-02 · closed: 2025-06-02 - CVEs: CVE-2024-56145, CVE-2025-35939 - Affected: See vendor advisory / CISA notes (versions not always listed in KEV feed) - Fixed in: See vendor advisory linked in sources ## Follow this incident - RSS (one item per update): https://pwn.watch/i/craft-cms-cve-2024-56145/feed.xml - JSON Feed: https://pwn.watch/i/craft-cms-cve-2024-56145/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/craft-cms-cve-2024-56145.json - This file: https://pwn.watch/i/craft-cms-cve-2024-56145/llms.txt ## Updates (newest first) - 2025-06-02: CISA added CVE-2024-56145 to the KEV catalog (due 2025-06-23). - 2025-06-02: CISA added CVE-2025-35939 to the KEV catalog (due 2025-06-23). ## Fix brief # Security brief: Craft CMS: 2 exploited vulnerabilities (CVE-2024-56145, CVE-2025-35939) Source: https://pwn.watch/i/craft-cms-cve-2024-56145 · status: closed (closed Jun 2, 2025) · severity: critical · updated Jun 2, 2025 ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is CVE-2024-56145: 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. CVE-2025-35939: Craft CMS contains an external control of assumed-immutable web parameter vulnerability. This vulnerability could allow an unauthenticated client to introduce arbitrary values, such as PHP code, to a known local file location on the server. This vulnerability could be chained with CVE-2024-58136 as represented by CVE-2025-32432. Added to CISA KEV on 2025-06-02. Severity detail: CVSS 9.3 (CNA, v4.0); actively exploited (CISA KEV) - Product: Craft CMS - CVE / advisory ids: CVE-2024-56145, CVE-2025-35939 ## Affected versions - See vendor advisory / CISA notes (versions not always listed in KEV feed) ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - See vendor advisory linked in sources After upgrading, re-run the checks above and redeploy/restart the affected services. ## Latest updates - Jun 2, 2025: CISA added CVE-2024-56145 to the KEV catalog (due 2025-06-23). - Jun 2, 2025: CISA added CVE-2025-35939 to the KEV catalog (due 2025-06-23). ## Advisories - [Craft CMS advisory: Craft CMS](https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9) (Craft CMS) - [Craft CMS advisory: Craft CMS](https://github.com/craftcms/cms/pull/17220) (Craft CMS) - [NVD: CVE-2024-56145](https://nvd.nist.gov/vuln/detail/CVE-2024-56145) (NVD) - [NVD: CVE-2025-35939](https://nvd.nist.gov/vuln/detail/CVE-2025-35939) (NVD) - [CISA Known Exploited Vulnerabilities Catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) (CISA) ## Caveats Derived from CISA KEV JSON feed catalogVersion 2026.10.21. CVSS from the CVE record (cvelistV5). Exact affected/fixed version strings are not always in the KEV record; verify against the vendor advisory URL. startedAt uses dateAdded (exploitation may have begun earlier; many entries are older CVEs newly confirmed as exploited in 2025). --- Machine-readable: https://pwn.watch/i/craft-cms-cve-2024-56145.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.