Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

91
Patch now
CRITICAL 9.0EXPLOITEDREMOTEUPGRADE

CVE-2024-58136 is a critical-severity flaw (CVSS 9.0) affecting yii, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance87.8% (top 1%)
CISA exploited listYes, fix due 2025-05-23
WeaknessCWE-424
Published2025-04-10
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: yiiframework

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

yiiframework yii UPGRADE
Affected: < 2.0.52
Fixed in: 2.0.52
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy yii || rpm -q yii || yii --version
2. UPGRADE to 2.0.52 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade yii
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade yii
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Composer (PHP) · yiisoft/yii2 · FIXED · 2.0.52 · vulnerable: < 2.0.52 · source
composer require "yiisoft/yii2:>=2.0.52"
Fedora 46 · perl-WWW-OrangeHRM-Client · FIXED · 0.12.0-21.fc46 · FEDORA-2026-2d14efca09 · source
sudo dnf upgrade --advisory=FEDORA-2026-2d14efca09

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-58136?

yii: upgrade to 2.0.52. Exact commands for each OS are on this page.

Is CVE-2024-58136 being exploited?

Yes. CVE-2024-58136 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2024-58136 affect?

CVE-2024-58136 affects yii. Severity is critical (CVSS 9.0). 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.

How urgent is CVE-2024-58136?

Priority 91/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.