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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 13:59 UTC First seen by agentprime
- 31 Oct 2026, 13:59 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5vpg-rj7q-qpw2
- OSV: GHSA-5vpg-rj7q-qpw2
- github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2
- nvd.nist.gov/vuln/detail/CVE-2026-39850
- github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375
- github.com/yiisoft/yii2
- github.com/yiisoft/yii2/releases/tag/2.0.55