PT-2026-39402 · Unknown · Yii Framework

·

CVE-2026-39850

·

Published

2026-05-09

·

Updated

2026-07-23

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Yii 2 versions prior to 2.0.55
Description Flawed logic in the core view rendering method View::renderPhpFile() leads to Local File Inclusion. The function executes extract($ params , EXTR OVERWRITE) before the require statement used to load the view file. Consequently, a caller-controlled file key within the $params array can overwrite the internal local variable that determines which file is included. This can result in information disclosure or Remote Code Execution (RCE) if an attacker can write PHP files to the system through a separate primitive.
Recommendations Update to version 2.0.55.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-39850
GHSA-5VPG-RJ7Q-QPW2

Affected Products

Yii Framework