{"action":"Upgrade yiisoft/yii2 to 2.0.52 or later.","affected":[{"fixed":"2.0.52","introduced":"0"}],"component":"yiisoft/yii2","cve_ids":["CVE-2024-58136"],"ecosystem":"Packagist","epss":0.87757,"exploited":true,"fixed_versions":["2.0.52"],"ghsa_id":"GHSA-ggwg-cmwp-46r5","id":"tcs_01M5KF2R78PECNW5NYRTCMYRFF","modified_at":"2025-10-22T19:53:03.520505Z","published_at":"2025-04-10T03:31:32Z","references":["https://osv.dev/vulnerability/GHSA-ggwg-cmwp-46r5","https://nvd.nist.gov/vuln/detail/CVE-2024-58136","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","https://github.com/yiisoft/yii2/compare/2.0.51...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","https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52"],"severity":{"label":"critical","score":9},"sources":[{"source":"osv","source_id":"GHSA-ggwg-cmwp-46r5","url":"https://osv.dev/vulnerability/GHSA-ggwg-cmwp-46r5"},{"source":"kev","source_id":"CVE-2024-58136","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json"}],"summary":"yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key"}