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.
CVE-2024-58136
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2025-05-02), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.0 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.0
- EG Score
- 9.0(high)
- EG Risk
- 81(Attend)EG Risk 81/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 88%
- EPSS %ILE
- 100%
- KEV
- ⚠ Exploited
Published
April 10, 2025
Last Modified
November 5, 2025
Advisory Details (7)
Auto-updated Jun 1, 2026Known Exploited Vulnerabilities Catalog | CISA
Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136SensePost | Investigating an in-the-wild campaign using RCE in CraftCMS
https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/Please upgrade to Yii 2.0.52 | News | Yii PHP Framework
https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52Fix #20232: Fix regression introduced in `GHSA-cjcc-p67m-7qxm` while attaching behavior defined by `__class` array key
Patch available: yiisoft/yii2 2.0.52 (PR #20232 merged 2024-07-25)
https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709Fix #20232: Fix regression introduced in `GHSA-cjcc-p67m-7qxm` while attaching behavior defined by `__class` array key
Patch available: yiisoft/yii2 2.0.52 (PR #20232 merged 2024-07-25)
https://github.com/yiisoft/yii2/pull/20232Comparing 2.0.51...2.0.52 · yiisoft/yii2 · GitHub
https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52commit 40fe496eda52 (yiisoft/yii2)
Patch available: yiisoft/yii2 2.0.52 (contains commit 40fe496eda52)
https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| yiisoft/yii2 | 2.0.0 ... 2.0.9 (76 versions) | 2.0.52 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 44× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 161 total refreshes for this CVE.
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-17 21:09 UTCEG score recompute
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-16 08:53 UTCEG score recompute
- 2026-09-16 05:12 UTCEPSS rescore
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-10 19:28 UTCCISA KEV update
- 2026-09-10 11:48 UTCEG score recompute
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-09 19:08 UTCCISA KEV update
- 2026-09-08 18:54 UTCCISA KEV update
- 2026-09-07 19:13 UTCEG score recompute
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 14:59 UTCEG score recompute
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 18:50 UTCEG score recompute
- 2026-09-04 17:38 UTCCISA KEV update
- 2026-09-02 18:06 UTCEG score recompute
- 2026-09-02 17:33 UTCCISA KEV update
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-08-31 14:19 UTCCISA KEV update
- 2026-08-30 21:22 UTCEG score recompute
- 2026-08-30 19:16 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-29 00:57 UTCEG score recompute
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 17:22 UTCCISA KEV update
- 2026-08-27 16:35 UTCEG score recompute
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 17:41 UTCCISA KEV update
- 2026-08-25 16:15 UTCEG score recompute
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-24 18:52 UTCCISA KEV update
- 2026-08-24 16:04 UTCEG score recompute
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-24 12:02 UTCEG score recompute
- 2026-08-23 03:47 UTCEG score recompute
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 16:49 UTCCISA KEV update
- 2026-08-20 23:19 UTCEG score recompute
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-20 17:06 UTCCISA KEV update
- 2026-08-19 19:07 UTCEG score recompute
- 2026-08-19 17:33 UTCCISA KEV update
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 16:58 UTCCISA KEV update
- 2026-08-17 14:43 UTCEG score recompute
- 2026-08-17 13:56 UTCCISA KEV update
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 18:36 UTCEG score recompute
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:30 UTCEG score recompute
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 02:19 UTCEG score recompute
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-12 13:57 UTCEG score recompute
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 19:32 UTCCISA KEV update
- 2026-08-07 17:12 UTCEG score recompute
- 2026-08-07 17:09 UTCCISA KEV update
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-05 17:25 UTCCISA KEV update
- 2026-08-04 17:02 UTCCISA KEV update
- 2026-08-04 16:41 UTCEG score recompute
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-03 19:22 UTCCISA KEV update
- 2026-07-30 11:37 UTCEG score recompute
- 2026-07-29 19:27 UTCCISA KEV update
- 2026-07-27 19:24 UTCCISA KEV update
- 2026-07-27 17:17 UTCCISA KEV update
- 2026-07-27 14:47 UTCEG score recompute
- 2026-07-26 17:56 UTCEG score recompute
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-26 13:54 UTCEG score recompute
- 2026-07-26 01:48 UTCEG score recompute
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 02:45 UTCEG score recompute
- 2026-07-22 23:34 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 15:31 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 18:59 UTCEG score recompute
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-19 06:12 UTCEG score recompute
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-17 09:49 UTCEG score recompute
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-09 19:09 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2024/CVE-2024-58136.yamlFirst seen Jan 1, 2024
Yii2 PHP Framework < 2.0.52 - Remote Code Execution
Open source ↗
Frequently asked(6)
What is CVE-2024-58136?
When was CVE-2024-58136 disclosed?
Is CVE-2024-58136 actively exploited?
What is the CVSS score of CVE-2024-58136?
Which products are affected by CVE-2024-58136?
How do I remediate CVE-2024-58136?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58136
Is Your Infrastructure Affected by CVE-2024-58136?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.