CVE-2024-58136 kev in the critical feed json
yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
published 2025-04-10 18 mo ago modified 2026-06-17 4 mo ago also GHSA-ggwg-cmwp-46r5 , EUVD-2025-10502
- cvss
- 9.0
- version 3.1, CNA
- cisa kev
- Exploited
- added 2025-05-02
- epss
- 87.8%
- EPSS 87.8% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
cisa required action Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- packagist yiisoft/yii2 2.0.52
- yiiframework Yii 2.0.52
- github.com/yiisoft/yii2@40fe496 commit
- github.com/yiisoft/yii2#20232 pull request
Timeline
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 18 mo ago
- Patch by
- 2025-05-23 (17 mo ago)
- Ransomware
- Not known
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Vendor, product
- Yiiframework, Yii
- CISA name
- Yiiframework Yii Improper Protection of Alternate Path Vulnerability
ATT&CK techniques
How it is exploited and what it leads to, in MITRE ATT&CK terms.
kev release 2025-07-28, att&ck v16.1. KEV to ATT&CK mappings by the MITRE Center for Threat-Informed Defense (Mappings Explorer, Apache-2.0). © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
87.76% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Yii2 PHP Framework < 2.0.52 - Remote Code Execution nuclei detection template
- sensepost.com https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | yiisoft/yii2 | <2.0.52 |
2.0.52 |
Affected products
- yiiframework Yii
Classification
- Weakness
-
- CWE-424 Improper Protection of Alternate Path
References
-
github.com
/yiisoft/yii2/pull/20232
web, patch
-
github.com
/yiisoft/yii2/pull/20232#issuecomment-2252459709
web, issue-tracking
-
github.com
/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
web, patch
-
sensepost.com
/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/
technical-description, exploit, third-party-advisory
-
yiiframework.com
/news/709/please-upgrade-to-yii-2-0-52
web, vendor-advisory
-
github.com
/yiisoft/yii2/compare/2.0.51...2.0.52
web, issue-tracking
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2024-58136
advisory
-
github.com
/yiisoft/yii2
package
-
sensepost.com
/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms
web
Sources
- CVE List CVE-2024-58136
- GitHub Advisory GHSA-ggwg-cmwp-46r5
- NVD CVE-2024-58136
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.