Zero-day vulnerability in Yii

Improper protection of alternate path
CVE-2024-58136

Vulnerability details

Advisory: SB2025042836 - Remote code execution in Yii framework

Vulnerable component: Yii

CVE-ID: CVE-2024-58136

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-424 - Improper Protection of Alternate Path

Description:

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper protection of alternate path in framework/base/Component.php. A remote non-authenticated attacker can send a specially crafted request to the application and execute arbitrary code on the system.

Note, the vulnerability is being actively exploited in the wild since February 2025.

External links:

https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52