cybersecurity Request an audit

Actively exploited vulnerability / CVE-2024-58136

Yii 2: a flaw can let attackers take control of web applications

This flaw in the Yii 2 framework can let a remote attacker run their own code on the server hosting the application. That could give them access to company data, let them change it, or let them misuse the server. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.

Identifier
CVE-2024-58136 · EUVD-2025-10502
Severity
Critical (9/10)
On the CISA list (US)
yes, since 2 May 2025
Deadline given to US federal agencies
23 May 2025
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
25.3% (FIRST's estimate for the next 30 days)

Does it concern you?

Yii is a programming framework used to build websites and web applications in PHP, so it may be in your company if you have a custom-built site or web app. It can also be inside other products built on Yii, such as Craft CMS.

All Yii 2 versions before 2.0.52 are affected. Ask your developer or the company that maintains your website which Yii version the application uses and whether it relies on products like Craft CMS.

Affected products and versions

  • Yiiframework Yii
  • yii: before 2.0.52

What to do

Have Yii updated to version 2.0.52 or later, and install the vendor's latest update for products built on Yii, such as Craft CMS. If updating is not possible, follow the vendor's guidance or stop using the application until it is fixed.

Versions that contain the fix: 2.0.52.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.