# CVE-2023-28115: PHAR deserialization allowing remote code execution

Source: https://junglewise.ai/threats/cve-2023-28115-phar-deserialization-allowing-remote-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-17  
License: CC BY 4.0 with a link back

CVE-2023-28115 · Severity: low · CVSS 3.1 · Published 2023-03-17

PHAR deserialization allowing remote code execution

Technologies: [knplabs/knp-snappy (Packagist)](https://junglewise.ai/threats/technologies/knplabs-knp-snappy). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

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

**How severe is CVE-2023-28115?** Low severity, with a CVSS score of 3.1, published 17 March 2023.

**Which products and versions are affected?** knplabs/knp-snappy (Packagist) ECOSYSTEM:introduced=0,fixed=1.4.2.

**Is there a fix for CVE-2023-28115?** Yes. knplabs/knp-snappy (Packagist): upgrade to 1.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-28115?** Check whether you run knplabs/knp-snappy (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

- knplabs/knp-snappy (Packagist): upgrade to 1.4.2 or later

  ```sh
  composer require knplabs/knp-snappy:^1.4.2
  ```


## Affected products

- knplabs/knp-snappy (Packagist) ECOSYSTEM:introduced=0,fixed=1.4.2

## Identifiers

- CVE-2023-28115
- GHSA-gq6w-q6wh-jggc

## Related threats

- [KnpLabs Snappy SSRF and local file read in xsl-style-sheet option](https://junglewise.ai/threats/cve-2026-46683-knplabs-snappy-ssrf-and-local-file-read-in-xsl-style-sheet-option)
- [KnpLabs Snappy command injection via unescaped binary path](https://junglewise.ai/threats/cve-2026-46643-knplabs-snappy-command-injection-via-unescaped-binary-path)
- [Snappy PHAR deserialization vulnerability](https://junglewise.ai/threats/cve-2023-41330-snappy-phar-deserialization-vulnerability)
