Live threats

All CVEs / Yiiframework

CVE-2020-15148Yiiframework Yii

Critical 10.0 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yii.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
yiiframeworkyii< 2.0.38

Official sources

References

Links published by the sources. Open them with care.