Security Resilience

CVE-2024-58136

Yiiframework Yii ≤ 2.0.52

CISA KEVActive ExploitationEUVD ExploitedPublic PoC
Published
10 April 2025
Modified
05 November 2025
KEV Added
02 May 2025
Patch / advisory
CVSS Score v3.1 9.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.88 99.8th percentile
Risk Priority 90 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-58136 is a critical-severity Improper Protection of Alternate Path (CWE-424) vulnerability in Yiiframework Yii. Its CVSS base score is 9.0 (Critical).

Operationally, ranked in the top 0.2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Yii 2 before version 2.0.52 contains a vulnerability that mishandles attachment of behaviors specified via an __class array key. The flaw is a regression of CVE-2024-4990 and affects the Yii framework's behavior attachment logic, allowing improper class resolution during object configuration.

An unauthenticated remote attacker can supply a crafted configuration array over the network to trigger the issue. Successful exploitation yields full control over the affected application, including arbitrary code execution and impacts to confidentiality, integrity, and availability, as reflected in the CVSS 9.0 score with changed scope.

Official references direct users to upgrade to Yii 2.0.52. The fix is documented in the project's GitHub commit 40fe496eda529fd1d933b56a1022ec32d3cd0b12, the 2.0.51-to-2.0.52 diff, pull request 20232, and the Yii Framework security advisory that explicitly recommends immediate patching.

The CVE was exploited in the wild between February and April 2025, coinciding with EPSS values that reached a peak of 0.7895 and remain at 0.7726.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)
KEV Date Added
02 May 2025

Related Threats

CVEs Like This One

CVE-2024-32877Same product: Yiiframework Yii
CVE-2023-47130Same product: Yiiframework Yii
CVE-2025-2690Same product: Yiiframework Yii
CVE-2020-15148Same product: Yiiframework Yii
CVE-2024-4990Same product: Yiiframework Yii
CVE-2023-26750Same product: Yiiframework Yii
CVE-2025-2689Same product: Yiiframework Yii
CVE-2025-32027Same product: Yiiframework Yii
CVE-2023-50708Same vendor: Yiiframework
CVE-2023-50714Same vendor: Yiiframework

Affected Assets

yiiframework
yii
≤ 2.0.52

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Requiring access-control decisions to be applied to each request ensures no alternate path can bypass authorization checks.

A reference monitor that is always invoked by definition covers every possible path, eliminating the root cause of unprotected alternate paths.

Enforcing approved authorizations for every logical access request structurally blocks unprotected alternate paths to restricted resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Privileged access rights must be enforced on every possible route to privileged functions.

finds

Security testing can discover unprotected alternate paths before release.

blocks

Access control policy directly requires protection of all entry points to restricted functionality.

blocks

Managing access rights must cover every alternate path that could bypass intended restrictions.

prevents

Secure coding practices reduce the likelihood of unprotected alternate paths in source code.

blocks

A.8.3's access restriction mechanism blocks exploitation via the paths it covers (the main, intended paths), but CWE-424 is specifically about alternate paths that bypass the access control — those paths are outside A.8.3's enforcement, so the control does not block the exploitation that constitutes the weakness itself.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-424, a class-level weakness, and none of its children carries one either.

References