Read the docs
TI-2020-11920 Aliases CVE-2020-15148GHSA-699q-wcff-g9mj

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

VendorProductAffected versionsFixed inStatusSource
Yiiframeworkyii2before 2.0.382.0.38Patch availableCNA
—yiisoft/yii2 (Packagist)before 2.0.382.0.38Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*before 2.0.38VulnerableYiiframework
  • 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

  1. 2026-10-02 Threatist record created from CVE-2020-15148
  2. 2026-10-03 Alias added: GHSA-699q-wcff-g9mj

References

  • 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
See all 18 →

Sources