Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
yiisoft/yii2 versions before 2.0.52 mishandle the attaching of behaviors defined by a __class array key. The source gives few details on the conditions required or the exact impact, but states that this is a regression of CVE-2024-4990 and was exploited in the wild between February and April 2025. Upgrade yiisoft/yii2 to version 2.0.52 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.0 | Critical | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | CNA (mitre) |
- CISA KEV Listed since 2 May 2025: known to be exploited.
- EPSS 0.88, the 99th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:26 UTC First seen by agentprime
- 31 Oct 2026, 14:26 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-ggwg-cmwp-46r5
- OSV: GHSA-ggwg-cmwp-46r5
- nvd.nist.gov/vuln/detail/CVE-2024-58136
- github.com/yiisoft/yii2/pull/20232
- github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- github.com/yiisoft/yii2
- github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136
- www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52