CVE-2024-58136: Yiiframework Yii Improper Protection of Alternate Path Vulnerability
Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-906c6b22d61a, updated 2026-11-02T23:39:54.475Z.
CISA Known Exploited Vulnerabilities
- Name
- Yiiframework Yii Improper Protection of Alternate Path Vulnerability
- Vendor
- Yiiframework
- Product
- Yii
- Added to the catalog
- 2025-05-02
- Due date for US federal agencies
- 2025-05-23
- Weaknesses
- CWE-424
- Catalog version
- 2026.10.30
Yii Framework contains an improper protection of alternate path vulnerability that may allow a remote attacker to execute arbitrary code. This vulnerability could affect other products that implement Yii, including—but not limited to—Craft CMS, as represented by CVE-2025-32432.
Required action (CISA)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.
Links in CISA's notes
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
- https://nvd.nist.gov/vuln/detail/CVE-2024-58136
Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
NVD analysis
- Status
- Analyzed
- Published
- 2025-04-10T03:15:17.767
- Last modified
- 2026-06-17T08:14:41.660
- Weaknesses
- CWE-424, NVD-CWE-Other
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.
| Metric | Score | Severity | Vector | Scored by |
|---|---|---|---|---|
| CVSS 3.1 | 9 | CRITICAL | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | [email protected] (Secondary) |
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | [email protected] (Primary) |
References
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12 (Patch)
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52 (Issue Tracking)
- https://github.com/yiisoft/yii2/pull/20232 (Patch)
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709 (Issue Tracking)
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52 (Vendor Advisory)
- https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/ (Exploit, Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136 (US Government Resource)
This product uses the NVD API but is not endorsed or certified by the NVD.
Read on 2026-11-02T23:42:22.836Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-58136
CVE record
- Assigner
- mitre
- State
- PUBLISHED
- Published
- 2025-04-10T00:00:00.000Z
- Updated
- 2025-10-21T22:55:21.228Z
- Problem types
- CWE-424 Improper Protection of Alternate Path
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.
References
- https://github.com/yiisoft/yii2/pull/20232
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52
Read on 2026-11-03T02:14:10.645Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2024/58xxx/CVE-2024-58136.json
GitHub Advisory Database
GHSA-ggwg-cmwp-46r5: yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
- Severity (GitHub)
- critical
- CVSS
- 9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H
- Weaknesses
- CWE-424
- Published
- 2025-04-10T03:31:32Z
- Updated
- 2025-10-22T19:29:51Z
- composer yiisoft/yii2: affected < 2.0.52, first patched 2.0.52
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.
Read on 2026-11-03T05:52:35.913Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.github.com/advisories/GHSA-ggwg-cmwp-46r5
Also known as / affected packages
GHSA-ggwg-cmwp-46r5
Also known as: CVE-2024-58136. OSV.dev record, GitHub advisory.
- Packagist yiisoft/yii2: introduced 0, fixed 2.0.52
Read on 2026-11-03T01:57:10.024Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.osv.dev/v1/vulns/GHSA-ggwg-cmwp-46r5
Defensive techniques (MITRE D3FEND)
D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.
CWE-424: Improper Protection of Alternate Path
D3FEND lists no defensive technique for this weakness.
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:56:30.850Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-424.json
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/
Sources and licences
CISA
Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.
National Vulnerability Database (NIST)
This product uses the NVD API but is not endorsed or certified by the NVD.
NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)
CVE Program, The MITRE Corporation
Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
GitHub Advisory Database
Source: GitHub Advisory Database, https://github.com/advisories/GHSA-ggwg-cmwp-46r5, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Changes: fields selected and reformatted by ransomware-tracker.com.
GitHub Advisory Database via OSV.dev
GHSA-ggwg-cmwp-46r5: GitHub Advisory Database, https://github.com/advisories/GHSA-ggwg-cmwp-46r5. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), provided as is, without warranties. Retrieved via OSV.dev (https://osv.dev/vulnerability/GHSA-ggwg-cmwp-46r5), which enriches records; fields selected and reformatted by ransomware-tracker.com.
MITRE D3FEND
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT
Cite this page
Dragons Eye Ransomware Tracker, "CVE-2024-58136: Yiiframework Yii Improper Protection of Alternate Path Vulnerability",
entity page, dataset version ref-906c6b22d61a, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2024-58136 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-06-17T08:14:41.660.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2025-10-21T22:55:21.228Z.
Underlying source: GitHub Advisory Database, GHSA-ggwg-cmwp-46r5, updated 2025-10-22T19:29:51Z.
Underlying source: GitHub Advisory Database, GHSA-ggwg-cmwp-46r5, via OSV.dev, modified 2025-10-22T19:53:03.520505Z.
Underlying source: MITRE D3FEND, ontology version 1.6.0.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.