CVEBrief

Home / yiiframework / Yii / CVE-2024-58136

CVE-2024-58136: is it exploited, and which versions of yiiframework Yii are affected and fixed?

CVE-2024-58136 is an improper Protection of Alternate Path vulnerability in yiiframework Yii, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 2, 2025, with a federal due date of May 23, 2025. Affected: yiisoft/yii2 before 2.0.52 (GitHub advisory GHSA-ggwg-cmwp-46r5). Fixed in 2.0.52 (GitHub advisory GHSA-ggwg-cmwp-46r5). Severity: Critical (9.0, CVSS 3.1, from mitre).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:21 UTC.

Exploited in the wild
Yes, CISA KEV
added May 2, 2025, due May 23, 2025
Affected
yiisoft/yii2 before 2.0.52
GitHub advisory GHSA-ggwg-cmwp-46r5
Fixed in
2.0.52
GitHub advisory GHSA-ggwg-cmwp-46r5
Severity
Critical 9.0
CVSS 3.1 from mitre
Exploit odds (EPSS)
91.8% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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.

From the CVE record by mitre, last updated October 21, 2025, 22:55 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
yiiframeworkYiifrom 2 before 2.0.522.0.52

As the CVE record by mitre states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistyiisoft/yii2< 2.0.522.0.52GHSA-ggwg-cmwp-46r5

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
yiiframeworkyiibefore 2.0.52application

NVD analysis (status Analyzed), last modified June 17, 2026, 08:14 UTC.

How severe is CVE-2024-58136?

ScoreVersionVectorSource
Critical 9.0CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:Hmitre
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-58136 exploited in the wild?

CISA KEV
Listed as Yiiframework Yii Improper Protection of Alternate Path Vulnerability, added May 2, 2025; federal agencies must act by May 23, 2025
Required action
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
Unknown
CISA's summary
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.
CISA SSVC
Exploitation: active; automatable: no; technical impact: total (CISA ADP, May 2, 2025)
EPSS
91.8% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 10, 2025
Published
April 10, 2025, 00:00 UTC
CVE record updated
October 21, 2025, 22:55 UTC by mitre
NVD
Analyzed, last modified June 17, 2026, 08:14 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Yii?

Every CVE in Yii

Questions about CVE-2024-58136

Is CVE-2024-58136 exploited in the wild?

Yes. CISA added CVE-2024-58136 to its Known Exploited Vulnerabilities catalog on May 2, 2025 and set federal agencies a due date of May 23, 2025. FIRST's EPSS gives it a 91.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of yiiframework Yii are affected by CVE-2024-58136?

yiisoft/yii2 before 2.0.52, per the GitHub advisory GHSA-ggwg-cmwp-46r5. The tables above give every range the sources list.

Which version fixes CVE-2024-58136?

2.0.52, per the GitHub advisory GHSA-ggwg-cmwp-46r5. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-58136?

Critical (9.0, CVSS 3.1, from mitre). The severity table above shows each score with its source.

Where is the official record of CVE-2024-58136?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.