CVE-2026-103474
yii2-starter-kit through 4.2.0 Unrestricted File Upload RCE
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 30, 2026
- Updated
- Sep 30, 2026
- Reserved
- Sep 30, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected Products
| Product | Versions |
|---|---|
yii2-starter-kityii2-starter-kit |
|
References
- GitHub Issue #797issue-tracking
- https://github.com/yii-starter-kit/yii2-starter-kitproduct
- https://github.com/yii-starter-kit/yii2-starter-kit/blob/cc2c451e8c959c7300b04efea597706a38609f58/backend/modules/file/controllers/StorageController.php#L36technical-description
- VulnCheck Advisory: yii2-starter-kit through 4.2.0 Unrestricted File Upload RCEthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.