๐Ÿ” CVE Alert

CVE-2026-39850

HIGH 7.4

Yii 2: Local file inclusion via view parameter name collision

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th

Yii 2 is a PHP application framework. Versions 2.0.54 and prior contain flawed logic in the core view rendering method View::renderPhpFile() that leads to Local File Inclusion. The function calls extract($_params_, EXTR_OVERWRITE) before the require statement that loads the view file. As a result, a caller-controlled _file_ key in the $params array overwrites the internal local variable specifying which file to include, potentially enabling RCE if an attacker can write PHP files through a separate primitive, as well as information disclosure. This issue has been fixed in version 2.0.55.

CWE CWE-20 CWE-98
Vendor yiisoft
Product yii2
Published May 20, 2026
Stay Ahead of the Next One

Get instant alerts for yiisoft yii2

Be the first to know when new high vulnerabilities affecting yiisoft yii2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

yiisoft / yii2
< 2.0.55

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2 github.com: https://github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375