Advisory record · GHSA-ggwg-cmwp-46r5

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

CVSS 9.0 CriticalCriticalIn CISA KEVEPSS 0.88 · 99th percentile

Critical, because:

  • In CISA’s KEV catalogue since 2 May 2025: it is known to be exploited.
  • CVSS score 9.0: 9.0 or more.
  • CVSS score 9.0 (7.0 or more) and EPSS 0.88 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 10 Apr 2025, 03:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2Packagist<2.0.522.0.52
Identifiers
GHSA-ggwg-cmwp-46r5 · CVE-2024-58136 · PKSA-zmx9-v1jv-dy8s
Weakness (CWE)
CWE-424
Published
10 Apr 2025
Updated
22 Oct 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

yiisoft/yii2 versions before 2.0.52 mishandle the attaching of behaviors defined by a __class array key. The source gives few details on the conditions required or the exact impact, but states that this is a regression of CVE-2024-4990 and was exploited in the wild between February and April 2025. Upgrade yiisoft/yii2 to version 2.0.52 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.0 Critical 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CNA (mitre)
  • CISA KEV Listed since 2 May 2025: known to be exploited.
  • EPSS 0.88, the 99th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.