Advisory record · GHSA-5vpg-rj7q-qpw2

Yii 2: Local file inclusion via view parameter name collision

CVSS 7.4 HighEPSS 0.0046 · 39th percentile

Published by the GitHub Advisory Database at 11 May 2026, 19:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2Packagist<2.0.552.0.55
Identifiers
GHSA-5vpg-rj7q-qpw2 · CVE-2026-39850 · PKSA-mxtc-f5ct-dqqd
Weakness (CWE)
CWE-20 · CWE-98
Published
11 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Packagist package yiisoft/yii2 is affected before version 2.0.55. Because View::renderPhpFile() extracts caller-supplied parameters with overwrite, a crafted parameter can change which file the method includes. An attacker who controls view parameters could read non-PHP files and disclose information, or achieve code execution if they can also write PHP files. Upgrade to 2.0.55, which is the fixed version; the source lists no workaround.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0046, the 39th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:59 UTC First seen by agentprime
  2. 31 Oct 2026, 13:59 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.