CVE-2026-103474 Details
Description
yii2-starter-kit through 4.2.0 fails to validate file types in the backend storage upload actions, allowing authenticated managers to upload PHP files. Attackers with manager role can upload PHP scripts to the web-accessible storage directory and request them to execute arbitrary code on the server.
A vulnerability exists in Yii2 Starter Kit versions through 4.2.0, where the application fails to properly validate file types during backend storage upload actions. This flaw allows authenticated users with manager roles to upload PHP files. The uploaded PHP scripts are stored in a web-accessible directory, where they can be executed to run arbitrary code on the server.
It is recommended to add validation rules to the upload actions to restrict file types to safe extensions, store files with validated extensions outside of the web root, and disable PHP execution for files in the web-accessible storage directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 30, 2026CISA-ADP
Assessed Sep 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yii2-starter-kit | <= 4.2.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 30, 2026 | New CVE Received | [email protected] |
| Sep 30, 2026 | CVE Modified | CISA-ADP |
Volerion