Mix PhpApplication · Openmix

CVE-2026-37552

HIGH · 8.4 CVSS v3.1 Published 2026-05-01
Fix available
A fix is available. Upgrade to after 2.2.17 or later.
See remediation →
89/100
Remediation priority · High
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

MixPHP Framework 2.x contains an unsafe deserialization vulnerability in its sync-invoke TCP server component (Server.php:87). The server receives data from a TCP socket bound to 127.0.0.1 and passes it directly to Opis\Closure\unserialize() without any authentication or validation, then executes the unserialized data via call_user_func(), allowing arbitrary code execution.

MitigationRestrict network access to the localhost TCP port, implement authentication or cryptographic signature verification before deserialization, or replace the unsafe Opis\Closure\unserialize() with a safe serialization format such as JSON.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Mix PhpApplication
Affected:>= 2.0.1, <= 2.2.17

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed MixPHP version
    Check your project's composer.json or vendor/composer/installed.json for the 'mixphp/mix' package version, or run 'composer show mixphp/mix' to see the installed version
    Affected if version is >= 2.0.1 and <= 2.2.17
  2. Locate the sync-invoke TCP server component
    Search for Server.php in your vendor/mixphp directory, typically under vendor/mixphp/mix/src/Swoole/TaskServer.php or vendor/mixphp/core/src/Server/Server.php
    Affected if the Server.php file exists and contains Opis\Closure\unserialize() in the code near line 87
  3. Verify the vulnerable deserialization code exists
    Open the Server.php file and search for the pattern 'unserialize' and 'call_user_func' on or around line 87, specifically look for code passing socket input directly to Opis\Closure\unserialize()
    Affected if the file contains unsafe unserialize() call on socket data followed by call_user_func() execution
  4. Determine if TCP server component is enabled
    Check your application configuration or bootstrap files for instantiation or start of the sync-invoke TCP server (look for TaskServer, SyncInvoke, or TCP server initialization in your config or entry scripts)
    Affected if the sync-invoke TCP server is configured to start or is actively running on localhost (127.0.0.1)
  5. Check TCP listener binding
    Run 'netstat -tlnp | grep 127.0.0.1' or 'ss -tlnp | grep 127.0.0.1' to see if MixPHP TCP server is listening on localhost
    Affected if a MixPHP TCP server process is bound to 127.0.0.1 and accepting connections

You are affected if you are running MixPHP version 2.0.1 through 2.2.17 and have the sync-invoke TCP server component enabled and listening on localhost.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 2.2.17
Interim mitigation

Restrict network access to the localhost TCP port, implement authentication or cryptographic signature verification before deserialization, or replace the unsafe Opis\Closure\unserialize() with a safe serialization format such as JSON.

Recommended fix Moderate confidence

MixPHP 2.2.18 or later (check github.com/mix-php/mix-php releases)

  1. 1. Identify all MixPHP 2.x servers running the sync-invoke TCP server functionality
  2. 2. Check MixPHP GitHub releases page (github.com/mix-php/mix-php) for version 2.2.18 or later which should contain the security fix
  3. 3. If version 2.2.18+ is available, upgrade the MixPHP framework dependency via Composer: composer require mix-php/mix:^2.2.18 or composer update mix-php/mix
  4. 4. Verify the upgrade does not break application functionality by testing TCP server responses
  5. 5. If no fixed version is available yet, disable the sync-invoke TCP server if not required, or implement TCP connection authentication/authorization before deserialization
  6. 6. As a temporary mitigation, restrict network access to the TCP port (127.0.0.1) using firewall rules to prevent external attackers from reaching the service
Caveat Minor version upgrade within 2.x should have minimal breaking changes; test TCP functionality after upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Mix Php Scoped from the published advisory
  • Consultation4.0 h
  • Implementation12.0 h
  • Testing6.0 h
  • Review / QA4.0 h
26.0 hours of engineering $4,580
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-37552 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-37552 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data