patchminder
Exploited in the wild · CISA KEV CVE-2024-58136

Vulnerabilityin Yiiframework Yii.

Published 10 Apr 2025 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 2 May 2025.

On CISA's listAttack code is public
Severity
Critical 9.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 91.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.0.52 or later
In plain words

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: 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.

What to do now
  • Upgrade Yii to 2.0.52 or later.
  • Upgrade yiisoft/yii2 (Packagist) to 2.0.52 or later.
  • CISA requires US federal agencies to fix it by 23 May 2025.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Yii
2 to before 2.0.52
2.0.52
CVE record
yiisoft/yii2 (Packagist)
before 2.0.52
2.0.52
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 10 Apr 2025
    CVE ID reserved by mitre.
  2. 10 Apr 2025
    Published in the CVE List.
  3. 2 May 2025
    Added to CISA's Known Exploited Vulnerabilities list.
  4. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Yii vulnerabilities

Same weakness:

All CWE-424 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-58136: Vulnerability in Yiiframework Yii. https://patchminder.com/cve/cve-2024-58136/ (accessed 5 December 2026).