CVE-2024-58136: yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key

critical KEV Affects yiisoft/yii2. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified ; listed on CISA KEV 2025-05-02.

yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key

Package
yiisoft/yii2 Composer
Affected versions
<2.0.52
Fixed in
2.0.52
Severity
critical  CVSS 9.0
Exploitation
KEV listed by CISA as actively exploited · EPSS 88% (99.8th percentile)
Published
2025-04-10
Source
osv.dev

References

CWE-424
NVD recordyiisoft/yii2 advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories