Skip to content
Fencer Vulns
critical 9.0

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

Timeline

  1. Published
  2. Added to CISA KEV
  3. CISA SSVC: exploitation active
  4. 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.

  • T1055 Process Injection exploitation
  • T1059 Command and Scripting Interpreter primary impact

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

Sources

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.