CVE-2024-58136 is a vulnerability in Yiiframework Yii
Published on April 10, 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.
Known Exploited Vulnerability
This Yiiframework Yii Improper Protection of Alternate Path Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. 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.
The following remediation steps are recommended / required by May 23, 2025: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vulnerability Analysis
CVE-2024-58136 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. It has the highest possible exploitability rating (3.9). The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Products Associated with CVE-2024-58136
You can be notified by stack.watch whenever vulnerabilities like CVE-2024-58136 are published in these products:
What versions of Yii are vulnerable to CVE-2024-58136?
-
Yiiframework Yii Fixed in Version 2.0.52