CVE-2024-58136
CVE-2024-58136 is a critical-severity vulnerability in Yiiframework Yii with a CVSS 3.x base score of 9.0. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-05-02). The underlying weakness is classified as CWE-424.
Key facts
- Severity: Critical (CVSS 3.x base score 9.0)
- EPSS exploit prediction: 88% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2025-05-02)
- EU (EUVD) id: EUVD-2025-10502
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2025-05-02)
- Weakness: CWE-424
- Affected product: Yiiframework Yii
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-58136?
- 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.
- How severe is CVE-2024-58136?
- CVE-2024-58136 has a CVSS 3.x base score of 9.0, rated critical severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-58136 being actively exploited?
- Yes. CVE-2024-58136 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-05-02, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2024-58136?
- CVE-2024-58136 affects Yiiframework Yii. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-58136?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2024-58136 have an EU (EUVD) identifier?
- Yes. CVE-2024-58136 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-10502. It is also flagged as exploited in the EUVD (since 2025-05-02).
- When was CVE-2024-58136 published?
- CVE-2024-58136 was published on 2025-04-10 and last updated on 2026-06-17.
References
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- https://github.com/yiisoft/yii2/pull/20232
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
- https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136
Affected products (1)
- cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*
More vulnerabilities in Yiiframework Yii
- CVE-2015-5467 — Critical (CVSS 9.8): web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path…
- CVE-2023-26750 — Critical (CVSS 9.8): SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows the a remote attacker to…
- CVE-2018-8073 — Critical (CVSS 9.8): Yii 2.x before 2.0.15 allows remote attackers to execute arbitrary LUA code via a variant of the CVE-2018-7269 attack…
- CVE-2018-7269 — Critical (CVSS 9.8): The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to…
- CVE-2024-4990 — Critical (CVSS 9.1): In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does…
- CVE-2020-15148 — High (CVSS 8.9): Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls…
All CVEs affecting Yiiframework Yii →
Other CWE-424 vulnerabilities
- CVE-2025-48827 — Critical (CVSS 10.0): vBulletin 5.0.0 through 5.7.5 and 6.0.0 through 6.0.3 allows unauthenticated users to invoke protected API controllers'…
- CVE-2025-48828 — Critical (CVSS 9.0): Certain vBulletin versions might allow attackers to execute arbitrary PHP code by abusing Template Conditionals in the…
- CVE-2023-52952 — High (CVSS 8.5): A vulnerability has been identified in HiMed Cockpit 12 pro (J31032-K2017-H259) (All versions >= V11.5.1 < V11.6.2),…
- CVE-2024-3459 — High (CVSS 8.4): KioWare for Windows (versions all through 8.34) allows to escape the environment by downloading PDF files, which then…
- CVE-2025-68939 — High (CVSS 8.2): Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name…
- CVE-2024-3460 — High (CVSS 7.4): In KioWare for Windows (versions all through 8.34) it is possible to exit this software and use other already opened…