Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-58136

97
FAUCET Score

CVE-2024-58136 is a critical vulnerability affecting Yii 2 before version 2.0.52, stemming from improper handling of behavior defined by an __class array key, and is a regression of CVE-2024-4990. This flaw allows for unauthenticated remote code execution with high impact on confidentiality, integrity, and availability, as indicated by its CVSS score of 9.8. The vulnerability is actively exploited in the wild, with evidence of exploitation in February through April 2025, and has garnered significant community attention and media coverage, including its use in Craft CMS zero-day attacks.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.0.52CPE matchmatch criteria
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*
>= 2, < 2.0.52CPE match
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.0CRITICAL

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
84.76%
Probability of exploitation in next 30 days
EPSS Percentile
99.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
Added to KEV · May 2, 2025
Nuclei: CVE-2024-58136 · Jul 22, 2025
This CVE's current EPSS score of 0.8476 is in the 99th percentile among its peer group of 36,835 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

composerpatch availablevia ghsa
Product: yiisoft/yii2Fixed in: 2.0.52
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-ggwg-cmwp-46r5critical

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

Apr 10, 2025

References

sensepost.com / blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms
ExploitThird Party Advisory
cisa.gov / known-exploited-vulnerabilities-catalog
US Government Resource
github.com / yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
Patch
github.com / yiisoft/yii2/compare/2.0.51...2.0.52
Issue Tracking
github.com / yiisoft/yii2/pull/20232
Patch
github.com / yiisoft/yii2/pull/20232
Issue Tracking
yiiframework.com / news/709/please-upgrade-to-yii-2-0-52
Vendor Advisory