{"id":"CVE-2024-58136","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-58136","generatedAt":"2026-10-28T01:50:13.163Z","title":"Yiiframework Yii Improper Protection of Alternate Path Vulnerability","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.","published":"2025-04-10T03:15:18.000Z","lastModified":"2026-06-17T08:14:42.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-424"],"affected":["yiiframework/yii"],"epss":{"score":0.87757,"percentile":0.99758,"date":"2026-10-26","history":[]},"kev":{"listed":true,"dateAdded":"2025-05-02","dueDate":"2025-05-23","knownRansomwareCampaignUse":"Unknown","notes":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.\nThis 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"},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 23 May 2025). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52","tags":["Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://github.com/yiisoft/yii2/pull/20232","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709","tags":["Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-58136","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}