CVE-2020-15148Yiiframework Yii
Critical 10.0 No auth neededHigh EPSS
Follow: this CVE · Yiiframework · Yiiframework Yii We alert you by email or Slack (account required).
- Priority
- 83
- CVSS 3.1
- 10.0
- EPSS
- 77.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Sep 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
What to do
- Apply the vendor's security update for Yii.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yiisoft/yii2 |
< 2.0.38 |
2.0.38 |
composer require "yiisoft/yii2:^2.0.38" |
Per OSV / GitHub Advisories (GHSA-699q-wcff-g9mj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | yii | < 2.0.38 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Mitigation Third Party Advisory