{
  "id": "CVE-2024-56145",
  "url": "https://spydr.io/cve/CVE-2024-56145",
  "published": "2024-12-18T21:15:08.530Z",
  "modified": "2026-06-17T08:11:45.717Z",
  "score": 9.3,
  "severity": "critical",
  "cvss_version": "4.0",
  "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",
  "score_source": "github.com",
  "epss": 0.97405,
  "epss_percentile": 0.99898,
  "exploited": true,
  "kev": {
    "added": "2025-06-02",
    "due": "2025-06-23",
    "action": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.",
    "ransomware": "Unknown",
    "name": "Craft CMS Code Injection Vulnerability",
    "notes": "https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 ; https://nvd.nist.gov/vuln/detail/CVE-2024-56145"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "craftcms"
  ],
  "products": [
    "craftcms cms"
  ],
  "cwes": [
    "CWE-94"
  ],
  "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 disable `register_argc_argv` to mitigate the issue.",
  "status": "Analyzed",
  "score_type": "Secondary",
  "scores": {
    "cvss_v40": 9.3,
    "cvss_v31": 9.8,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "https://github.com/Chocapikk/CVE-2024-56145",
      "tags": [
        "Exploit"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56145",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
