CVE-2024-58136
Yiiframework Yii Improper Protection of Alternate Path
- Published10 Apr 2025
- Added to CISA KEV2 May 2025
- Remediation due23 May 2025
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HAffected products
Remediation
References
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- https://github.com/yiisoft/yii2/pull/20232
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2024-58136 being actively exploited?
Yes. CVE-2024-58136 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 2 May 2025.
How severe is CVE-2024-58136?
CVE-2024-58136 has a CVSS 3.1 base score of 9.0, rated critical. EPSS estimates a 87.8% probability of exploitation.
Which products are affected by CVE-2024-58136?
Affected products include Yiiframework Yii.
How do I fix CVE-2024-58136?
Upgrade affected software to a fixed version, for example Yiiframework Yii 2.0.52 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2024-58136 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.