CVE-2020-15148
CRITICAL 10.0CVSS 3.1Unsafe deserialization in Yii 2
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.
- Published
- 15 Sep 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-699q-wcff-g9mj
- Sources
- NVDJSONOSV GHSA-699q-wcff-g9mjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yiiframework | yiicpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* |
< 2.0.38 | 2.0.38 |
| OSV | Packagist | yiisoft/yii2 | < 2.0.38 | 2.0.38 |
References
- https://github.com/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99 · Patch, Third Party Advisory, WEB
- https://github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj · Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15148 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2020-15148.yaml · WEB
- https://www.yiiframework.com/news/303/yii-2-0-38 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Sep 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Sep 2020)