Vulnerabilityin Yiiframework Yii.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 2 May 2025.
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.
CISA: 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.
- Upgrade Yii to 2.0.52 or later.
- Upgrade yiisoft/yii2 (Packagist) to 2.0.52 or later.
- CISA requires US federal agencies to fix it by 23 May 2025.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Apr 2025CVE ID reserved by mitre.
- 10 Apr 2025Published in the CVE List.
- 2 May 2025Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Yii vulnerabilities
Same weakness:
- github.com
- github.com
- github.com
- github.com
- www.yiiframework.com
- sensepost.com technical-description
- www.cisa.gov government-resource
Patchminder. CVE-2024-58136: Vulnerability in Yiiframework Yii. https://patchminder.com/cve/cve-2024-58136/ (accessed 5 December 2026).