CVE-2024-58136
CriticalExploitedPublic exploityiisoft/yii2 Mishandles the Attaching of Behavior Defined by a class Array Key
Published Apr 10, 2025 · Updated Aug 12, 2026 · Also known as GHSA-ggwg-cmwp-46r5
Key Facts
Patch immediately- CVE-2024-58136 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Yii (Yiiframework), yiisoft/yii2 (composer).
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Apr 9, 2025. Public exploit code is available.
- EPSS estimates a 88% probability of exploitation in the next 30 days.
- Fixed versions are available, including Yii 2.0.52, yiisoft/yii2 2.0.52.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
88%
Higher than 99.7% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-58136 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | May 2, 2025 | May 23, 2025 | Not reported |
| Industry KEV feed | Apr 9, 2025 | May 23, 2025 | Not reported |
| CIRCL KEV | May 2, 2025 | May 23, 2025 | Not reported |
| ENISA EUVD | May 2, 2025 | n/a | Not reported |
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| YiiYiiframework | >= 2 | 2.0.52 |
| yiisoft/yii2composer | See advisory | 2.0.52 |
Patched Releases
Yii
2.0.52
yiisoft/yii2
2.0.52
Timeline
Added to Industry KEV feed
Apr 9, 2025
Publicly disclosed
Apr 10, 2025
Added to CISA KEV
May 2, 2025
Added to CIRCL KEV
May 2, 2025
Added to ENISA EUVD
May 2, 2025
Last updated
Aug 12, 2026
Weakness Type
- CWE-424 Improper Protection of Alternate Path
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58136.json
- advisoryVulnCheck exploitation report
- advisoryhttps://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms
- advisoryhttps://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
FAQ
Common Questions.
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: Yii (Yiiframework) versions >= 2; yiisoft/yii2 (composer). The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Apr 9, 2025.
Yes. It was added on May 2, 2025 with a federal remediation due date of May 23, 2025.
Public exploit code is available.
Fixed versions are available, including Yii 2.0.52, yiisoft/yii2 2.0.52.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-58136 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo