Security Digest · Vulnerability record · Known exploited

CVE-2024-58136: Yiiframework Yii Improper Protection of Alternate Path Vulnerability

Exploited in the wild (CISA KEV). 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.

CISA KEV · added 2025-05-02 CVSS 9.0 Critical EPSS 87.8% · p99.8

Should you act?

Exploited: patch now if you run it

CISA has confirmed exploitation in the wild. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Yes, if you run Yiiframework Yii. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 2025-05-02, which means there is reliable evidence of exploitation in the wild. US federal agencies must remediate by 2025-05-23; treat that as the outer limit, not the target.
  • EPSS 87.8%, percentile 99.8: FIRST’s model estimates a 87.8% chance of exploitation activity in the next 30 days, higher than 99.8% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes yiisoft/yii2 (Composer (PHP)) < 2.0.52, fixed in 2.0.52. Check your lockfile, including transitive dependencies.

What it is

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 GitHub advisory

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.

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.

Weakness type: CWE-424.

Product: Yiiframework Yii · Assigned by: mitre · Published: 2025-04-10

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Composer (PHP)yiisoft/yii2< 2.0.522.0.52
VendorProductAffected versions (per CVE record)
yiiframeworkYii2 < 2.0.52

Severity scores

Scored byCVSSScoreVector
mitre3.19 CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: high (needs special conditions)
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: added 2025-05-02; federal due date 2025-05-23. Known ransomware use: Unknown.
  • CISA 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.
  • CISA SSVC assessment: exploitation active, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 87.76% probability of exploitation activity in the next 30 days; percentile 99.8.

Timeline

  • — CVE record published by mitre
  • — GitHub-reviewed advisory GHSA-ggwg-cmwp-46r5 published (critical)
  • — Added to CISA’s Known Exploited Vulnerabilities catalog
  • — CISA remediation deadline for US federal agencies
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. Listed in CISA KEV notes (yiiframework.com) yiiframework.com

Vulnerability records

  1. GitHub Advisory GHSA-ggwg-cmwp-46r5 github.com
  2. CVE.org record CVE-2024-58136 cve.org
  3. NVD entry CVE-2024-58136 nvd.nist.gov

Government

  1. CISA Known Exploited Vulnerabilities catalog entry cisa.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. github.com github.com
  5. sensepost.com sensepost.com

All exploited Yiiframework vulnerabilities · Critical Composer (PHP) advisories · Today’s Security Digest