Unsafe deserialization in Yii 2
Priority HIGH 82CWE-502Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
EPSS 0.77538 99th percentileScored 2026-11-07
Fix Fixed yii2 (yiisoft): 2.0.38yiisoft/yii2 (Packagist): 2.0.38
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Yiiframework | yii2 | before 2.0.38 | 2.0.38 | Patch available | CNA |
| — | yiisoft/yii2 (Packagist) | before 2.0.38 | 2.0.38 | Patch available | GHSA-699q-wcff-g9mj |
- yii2 VendorYiiframework Affected before 2.0.38 Fixed in 2.0.38 Patch available CNA
- yiisoft/yii2 (Packagist) Vendor— Affected before 2.0.38 Fixed in 2.0.38 Patch available GHSA-699q-wcff-g9mj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* | before 2.0.38 | Vulnerable | Yiiframework |
- cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* Versions before 2.0.38 Vulnerable ·Yiiframework
Remediation
- Fix · CNA yii2 (yiisoft) Fixed in 2.0.38
- Fix · GHSA-699q-wcff-g9mj yiisoft/yii2 (Packagist) Fixed in 2.0.38 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15148
- 2026-10-03 Alias added: GHSA-699q-wcff-g9mj
References
Advisory 2
More Yiiframework Yii vulnerabilities
- TI-2024-38344 Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class… KEVCVSS 3.1CRITICAL 9.8
- TI-2024-04634 Unsafe Reflection in base Component class in yiisoft/yii2 CVSS 3.1CRITICAL 9.1
- TI-2025-02355 yiisoft Yii2 MockClass.php generate deserialization CVSS 4.0MEDIUM 5.3
- TI-2025-02354 yiisoft Yii2 SortableIterator.php getIterator deserialization CVSS 4.0MEDIUM 5.3
- TI-2023-11755 SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows… CVSS 3.1CRITICAL 9.8
- TI-2015-04601 web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-15148 · CVE Program
- CVE-2020-15148 · NVD
- FIRST EPSS
- GHSA-699q-wcff-g9mj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences