# CVE-2020-15148: Unsafe deserialization in Yii 2

Source: https://junglewise.ai/threats/cve-2020-15148-unsafe-deserialization-in-yii-2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-09-15  
License: CC BY 4.0 with a link back

CVE-2020-15148 · Severity: low · CVSS 3.1 · Published 2020-09-15

Unsafe deserialization in Yii 2

Technologies: [yiisoft/yii2 (Packagist)](https://junglewise.ai/threats/technologies/yiisoft-yii2). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-15148 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15148 being exploited in the wild.

**How severe is CVE-2020-15148?** Low severity, with a CVSS score of 3.1, published 15 September 2020.

**Which products and versions are affected?** yiisoft/yii2 (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.38.

**Is there a fix for CVE-2020-15148?** Yes. yiisoft/yii2 (Packagist): upgrade to 2.0.38 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-15148?** Check whether you run yiisoft/yii2 (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- yiisoft/yii2 (Packagist): upgrade to 2.0.38 or later

  ```sh
  composer require yiisoft/yii2:^2.0.38
  ```


## Affected products

- yiisoft/yii2 (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.38

## Identifiers

- CVE-2020-15148
- GHSA-699q-wcff-g9mj

## Related threats

- [Yii 2 Local File Inclusion in View rendering](https://junglewise.ai/threats/cve-2026-39850-yii-2-local-file-inclusion-in-view-rendering)
- [yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key](https://junglewise.ai/threats/cve-2024-58136-yiiframework-yii-improper-protection-of-alternate-path)
- [Unsafe Reflection in base Component class in yiisoft/yii2](https://junglewise.ai/threats/cve-2024-4990-unsafe-reflection-in-base-component-class-in-yiisoft-yii2)
- [Reflected Cross-site Scripting in yiisoft/yii2 Debug mode](https://junglewise.ai/threats/cve-2024-32877-reflected-cross-site-scripting-in-yiisoft-yii2-debug-mode)
- [Yii2 allows attackers to execute any local .php file via a relative path in the view parameter](https://junglewise.ai/threats/cve-2015-5467-yii2-allows-attackers-to-execute-any-local-php-file-via-a-relative)
