Actively exploited · Published Apr 10, 2025 · Assigned by mitre
CVE-2024-58136
Critical 9.0 Exploited
In plain English
A critical-severity security flaw in Yii from yiiframework. Attackers are actively exploiting it in the wild (listed by CISA on May 2, 2025). The chance it is exploited in the next 30 days is estimated at 87.8% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal agencies must remediate by May 23, 2025.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | yiisoft/yii2 | 2.0.52 | GHSA-ggwg-cmwp-46r5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | Yii | 2 – before 2.0.52 |
Weakness: CWE-424 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/yiisoft/yii2/pull/20232
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- 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/ technical-description
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136 government-resource