CVE-2024-58136Yii Vulnerability
yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a class Array Key
Published Apr 10, 2025 · Updated Oct 28, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 25% 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.
Scores
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)
25%
Higher than 98.4% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
56/100
Publication score, see How it works
Exploitation Verdict
KEV listed
May 2, 2025
22 days after publication
Federal due date
May 23, 2025
Overdue
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
10
Reports of active use
Required action (CISA): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-58136
- advisoryVulnCheck exploitation report
- advisoryGHSA advisory
- 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
- patchhttps://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
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
Oct 28, 2026
Weakness Type
- CWE-424 Improper Protection of Alternate Path
References
- advisorycve.org · CVERecord
- advisoryVulnCheck exploitation report
- advisoryGHSA advisory
- advisorysensepost.com · investigating-an-in-the-wild-campaign-using-rce…
- advisoryyiiframework.com · 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.
A public exploit is reported by tracking sources, but no code link is listed yet.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo