CVE-2024-58136
KEVYiiframework Yii Improper Protection of Alternate Path Vulnerability
Description
Yii Framework contains an improper protection of alternate path vulnerability that may allow a remote attacker to execute arbitrary code. This vulnerability could affect other products that implement Yii, including - but not limited to - Craft CMS, as represented by CVE-2025-32432.
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HPublishedApr 10, 2025
Last modifiedJun 17, 2026
Added to KEVMay 2, 2025
Remediation dueMay 23, 2025
References
- github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12Patch
- github.com/yiisoft/yii2/compare/2.0.51...2.0.52Issue Tracking
- github.com/yiisoft/yii2/pull/20232Patch
- github.com/yiisoft/yii2/pull/20232Issue Tracking
- yiiframework.com/news/709/please-upgrade-to-yii-2-0-52Vendor Advisory
- sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/ExploitThird Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136US Government Resource
0 recent articles mention this CVE
84
Risk assessment · Critical
Actively exploited. Patch immediately.
- Exploitation
- Confirmed in the wild (CISA KEV)
- Federal remediation deadline
- Overdue by 521 days
- CVSS
- 9.0 CRITICAL
- EPSS (30-day exploit probability)
- 87.8% · top 1% of all CVEs
- Weakness
- CWE-424
- Attack vector
- Network, remotely reachable
- Preconditions
- No privileges and no user interaction
Recommended actions
- 1.Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- 2.Treat as emergency change: patch or isolate internet-facing instances first.
- 3.Review exposure: confirm which instances are reachable from the internet and restrict access until patched.
- 4.Hunt for compromise: review logs for the disclosure window, not just from the patch date.
Assessment is derived automatically from the live signals above; verify against your own asset inventory.