{
  "id": "CVE-2024-58136",
  "url": "https://spydr.io/cve/CVE-2024-58136",
  "published": "2025-04-10T03:15:17.767Z",
  "modified": "2026-06-17T08:14:41.660Z",
  "score": 9.8,
  "severity": "critical",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "score_source": "NVD",
  "epss": 0.87757,
  "epss_percentile": 0.99758,
  "exploited": true,
  "kev": {
    "added": "2025-05-02",
    "due": "2025-05-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": "Yiiframework Yii Improper Protection of Alternate Path Vulnerability",
    "notes": "This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52 ; https://nvd.nist.gov/vuln/detail/CVE-2024-58136"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "yiiframework"
  ],
  "products": [
    "yiiframework Yii"
  ],
  "cwes": [
    "CWE-424"
  ],
  "description": "Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.",
  "status": "Analyzed",
  "score_type": "Primary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 9.8,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://github.com/yiisoft/yii2/pull/20232",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-58136",
  "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."
    }
  ]
}
