---
id: CVE-2026-37552
title: Unsafe deserialization vulnerability in MixPHP Framework 2.x thru 2.2.17
summary: >-
  Unsafe deserialization vulnerability in MixPHP Framework 2.x thru 2.2.17. The
  sync-invoke TCP server (Server.php:87) receives data from a TCP socket, passes
  it directly to Opis\Closure\unserialize(), then executes the result via
  call_use…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: openmix
product: mix_php
affected:
  - 'mix_php >= 2.0.1, <= 2.2.17'
published: '2026-05-01'
updated: '2026-07-08'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-37552'
references:
  - url: 'https://gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975'
    label: cve@mitre.org
  - url: 'https://github.com/mix-php/mix'
    label: cve@mitre.org
  - url: 'https://github.com/mix-php/mix/blob/v2.2.17/src/sync-invoke/src/Server.php'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00253
epssPercentile: 0.17135
ingestedAt: '2026-07-08T03:46:38.671Z'
---

## Overview

Unsafe deserialization vulnerability in MixPHP Framework 2.x thru 2.2.17. The sync-invoke TCP server (Server.php:87) receives data from a TCP socket, passes it directly to Opis\Closure\unserialize(), then executes the result via call_user_func(). No authentication or signature verification exists on the TCP connection. An attacker with access to the localhost TCP port (server binds 127.0.0.1) can send a crafted serialized PHP closure to achieve arbitrary code execution.

## Affected

- `mix_php >= 2.0.1, <= 2.2.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
