SCA: security update for yiisoft/yii2 (GHSA-5vpg-rj7q-qpw2)

high Tenable Cloud Security Plugin ID 441753

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-39850)

Solution

Update the yiisoft/yii2 library and its related packages to version 2.0.55 or later.

See Also

https://github.com/advisories/GHSA-5vpg-rj7q-qpw2

Plugin Details

Severity: High

ID: 441753

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 5/12/2026

Updated: 7/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.65

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-39850

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 5/11/2026

Reference Information

CVE: CVE-2026-39850