{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-58136","published":"2025-04-10T03:15:17.767000Z","last_modified":"2026-06-17T08:14:41.660000Z","status":"Analyzed","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-424"],"cpes":[{"criteria":"cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*","part":"a","vendor":"yiiframework","product":"yii","version_end_excluding":"2.0.52"}],"cpes_truncated":false,"vendors":["yiiframework"],"products":["yiiframework/yii"],"ssvc":{"exploitation":"active","automatable":"no","technical_impact":"total"},"kev":{"date_added":"2025-05-02","due_date":"2025-05-23","ransomware":false,"forensic_triage":false,"cwes":["CWE-424"]},"epss":{"score":0.25317,"percentile":0.98408,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ggwg-cmwp-46r5","ecosystem":"Packagist","name":"yiisoft/yii2","purl":"pkg:composer/yiisoft/yii2","ranges":[{"introduced":"0","fixed":"2.0.52"}],"versions":["2.0.0","2.0.0-alpha","2.0.0-beta","2.0.0-rc","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.12.1","2.0.12.2","2.0.13","2.0.13.1","2.0.13.2","2.0.13.3","2.0.14","2.0.14.1","2.0.14.2","2.0.15","2.0.15.1","2.0.16","2.0.16.1","2.0.17","2.0.18","2.0.19","2.0.2","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28","2.0.29","2.0.3","2.0.30","2.0.31","2.0.32","2.0.33","2.0.34","2.0.35","2.0.36","2.0.37","2.0.38","2.0.39","2.0.39.1","2.0.39.2","2.0.39.3","2.0.4","2.0.40","2.0.41","2.0.41.1","2.0.42","2.0.42.1","2.0.43","2.0.44","2.0.45","2.0.46","2.0.47","2.0.48","2.0.48.1","2.0.49","2.0.49.1","2.0.49.2","2.0.49.3","2.0.49.4","2.0.5","2.0.50","2.0.51","2.0.6","2.0.7","2.0.8","2.0.9"],"versions_truncated":false}],"severity":"critical","priority_score":76,"links":{"html_es":"/es/cve/CVE-2024-58136/","html_en":"/en/cve/CVE-2024-58136/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-58136","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-58136"},"untrusted":{"vendor_name":"Yiiframework","product_name":"Yii","desc_en":"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.","affected":[{"untrusted_vendor":"yiiframework","untrusted_product":"Yii","versions":[]}],"kev":{"vendor":"Yiiframework","product":"Yii","name":"Yiiframework Yii Improper Protection of Alternate Path Vulnerability","desc":"Yii Framework contains an improper protection of alternate path vulnerability that may allow a remote attacker to execute arbitrary code. This vulnerability could affect other products that implement Yii, including—but not limited to—Craft CMS, as represented by CVE-2025-32432.","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.","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"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"e37fcb9dbc42c9e9a984c5b547836a7d","generated":"2026-11-26T23:13:32.197832Z","es":{"untrusted_title":"Ejecución remota de código en Yii Framework por manejo incorrecto de comportami…","untrusted_summary":"Yii 2 anterior a la versión 2.0.52 maneja incorrectamente la asignación de comportamientos definidos mediante la clave __class, permitiendo a un atacante remoto ejecutar código arbitrario sin autenticación. Esta vulnerabilidad, confirmada como explotada en la naturaleza entre febrero y abril de 2025, afecta también a productos que implementan Yii como Craft CMS."},"en":{"untrusted_title":"Remote Code Execution in Yii Framework via Improper Behavior Handling","untrusted_summary":"Yii 2 before version 2.0.52 improperly handles the attachment of behaviors defined via __class array key, allowing a remote attacker to execute arbitrary code without authentication. This vulnerability, confirmed as exploited in the wild between February and April 2025, also affects products implementing Yii such as Craft CMS."},"remediation":{"status":"fix","fixed_versions":["2.0.52"],"untrusted_action_es":"Actualiza Yii a la versión 2.0.52 o superior. Si usas Craft CMS u otro producto basado en Yii, verifica que también esté actualizado.","untrusted_action_en":"Update Yii to version 2.0.52 or later. If you use Craft CMS or other Yii-based products, verify they are also updated.","vendor_url":"https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52"},"reviewed":false},"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"]}]}}