Critical vulnerability in Yii 2 framework involving improper protection of behavior attachment mechanism. This is a regression of CVE-2024-4990 that allows remote code execution and has been actively exploited in the wild according to CISA KEV listing.
Data Source: CIRCL
Confidence: HIGH
Exploitation Method: DIRECT_NETWORK
CVE Published: 2025-04-10
Added to CISA KEV: 2025-05-02 22 DAYS BETWEEN CVE AND KEV
CVE-2024-58136 is a critical remote code execution (RCE) vulnerability affecting the Yii 2 PHP framework [1] [3]. It is a regression of a previously patched vulnerability, CVE-2024-4990, involving the mishandling of behavior attachments defined by an `__class` array key [2] [4].
| Feature | Description |
|---|---|
| Vulnerability Type | Remote Code Execution (RCE) [1] |
| CVSS Score | 9.8 (Critical) [1] |
| Affected Versions | Yii 2 before 2.0.52 [2] |
| Exploitation Status | Confirmed active exploitation in the wild (Feb–Apr 2025) [2] |
| Mitigation | Upgrade to Yii 2 version 2.0.52 or later [1] |
CVE-2024-58136 is a critical security flaw in Yii 2 framework that allows remote code execution. The vulnerability was exploited in the wild in February through April 2025 and has a CVSS score of 9.8. See NVD for more information, references, and mitigations.
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 ... 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…
CVE-2024–58136 is a critical remote code execution (RCE) vulnerability in the Yii2 PHP framework. It affects applications that allow behaviors to be attached ...
CVE-2024-58136 is not just a vulnerability; it is a masterclass in how 'patching' can sometimes just mean 'moving the target.' In July 2024, the Yii team patched a critical RCE (CVE-2024-4990) involving behavior attachments.
Dubbed CVE-2024-58136, this bug is a regression of a previously patched issue (CVE-2024-499). This new flaw affects Yii 2 before version 2..52, and it’s already seen real-world exploitation. Here’s an exclusive deep dive, written for everyday developers who want to understand the flaw, see example c…
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 ...