CVE-2026-37552

Unsafe Deserialization in MixPHP Framework 2.x Allows Arbitrary Code Execution via TCP

Published May 1, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from unsafe deserialization in the MixPHP Framework’s sync‑invoke TCP server. Data received from a socket is directly unserialized by Opis\Closure\unserialize() and then executed through call_user_func() with no authentication or integrity checking. Such a flaw permits an attacker to craft a serialized PHP closure that, when processed, executes arbitrary code on the host. The flaw confers full code execution privileges on the system where the server is running, representing a severe impact to confidentiality, integrity, and availability.

Affected Systems

MixPHP Framework versions 2.x through 2.2.17 are affected. The vulnerability exists in the Server.php component of the sync‑invoke module, which binds to the localhost TCP socket 127.0.0.1. No other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. The EPSS score is not available, but the flaw is listed as not in the CISA KEV catalog. An attacker with local access to the listening port can exploit the flaw; remote attackers would need to gain local access via other means. The absence of authentication means the server trusts any input from the port, making exploitation straightforward for local adversaries.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest MixPHP Framework release 2.2.18 or newer, which removes the insecure deserialize call
  • If upgrading is not possible, restrict the TCP socket to no other local users by changing the server binding to bind only to the loopback interface and applying firewall rules to block all local traffic except from trusted processes
  • In the interim, disable or remove the sync‑invoke TCP server to eliminate the vulnerable code path
  • Consider implementing a proxy or a security boundary that validates input before passing it to the server, ensuring only trusted data is unserialized

Generated by OpenCVE AI on May 2, 2026 at 07:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mix-php
Mix-php mix
Vendors & Products Mix-php
Mix-php mix
Type Values Removed Values Added
Title Unsafe Deserialization in MixPHP Framework 2.x Allows Arbitrary Code Execution via TCP
Type Values Removed Values Added
Weaknesses CWE-502
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 1, 2026, 7:45 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Analyzed
Published
May 1, 2026, 4:16 PM
Modified
Jul 8, 2026, 3:26 AM