CVE-2024-58136
Published 2025-04-10 · Updated 2026-06-17 · Source cve@mitre.org
Summary
CVE-2024-58136 is a critical-severity (CVSS 9.0) vulnerability in Yiiframework Yii. CISA added it to the Known Exploited Vulnerabilities catalog on May 2, 2025, which means exploitation in the wild has been confirmed; US federal agencies had to remediate it by May 23, 2025. CISA does not currently list it as used in ransomware campaigns.
All 1 known-exploited Yiiframework vulnerabilities →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.
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA Known-Exploited Vulnerability
Product: Yiiframework — Yii
Name: Yiiframework Yii Improper Protection of Alternate Path Vulnerability
Date added: 2025-05-02 · Due: 2025-05-23
Required 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.
References
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- https://github.com/yiisoft/yii2/pull/20232
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
- https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136

