CVE-2024-58136: Vulnerability in Yiiframework Yii
Actively exploited. 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.
Exploited in the wild, Packagist, CWE-424
- Exploitation
- Confirmed 2 May 2025
- Severity
- 9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 23 May 2025
Details
- Advisory ID
- GHSA-ggwg-cmwp-46r5
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H
- Weakness
- CWE-424
- Published
- 10 Apr 2025
- Last change
- 17 Jun 2026
- Ecosystem
- Packagist
Affected products
Affected versions and the first fixed release
- Yiiframework Yii Before 2.0.52. Fixed in 2.0.52
Affected packages
Vulnerable version ranges and fixed releases
- yiisoft/yii2 Packagist, Affected before 2.0.52. Fixed in 2.0.52
Advisories
Vendor and security advisories
- yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
- sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/
Patches and fixes
Updates, commits and release notes
- github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- github.com/yiisoft/yii2/pull/20232
- github.com/yiisoft/yii2/pull/20232
Related
- Yii vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only