CVE Explorer
CVE-2026-39850
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 separa
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-98","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"yii2","vendor":"yiisoft","versions":[{"status":"affected","version":"< 2.0.55"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-98","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375","tags":["x_refsource_MISC"],"url":"https://github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/references/1
{"name":"https://github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1ebbe11f5e6ec69ac385fa8cf48c29accb267c27be7f74023961231608c5a9ea · sha256:e07967523b495ee1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.