CVE-2026-37552
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 · uneditedUnsafe 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 confidenceMixPHP 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.
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>= 2.0.1, <= 2.2.17CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify installed MixPHP versionCheck 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 versionAffected if version is >= 2.0.1 and <= 2.2.17
-
Locate the sync-invoke TCP server componentSearch for Server.php in your vendor/mixphp directory, typically under vendor/mixphp/mix/src/Swoole/TaskServer.php or vendor/mixphp/core/src/Server/Server.phpAffected if the Server.php file exists and contains Opis\Closure\unserialize() in the code near line 87
-
Verify the vulnerable deserialization code existsOpen 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
-
Determine if TCP server component is enabledCheck 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)
-
Check TCP listener bindingRun 'netstat -tlnp | grep 127.0.0.1' or 'ss -tlnp | grep 127.0.0.1' to see if MixPHP TCP server is listening on localhostAffected 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.
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 · scopedRestrict 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.
MixPHP 2.2.18 or later (check github.com/mix-php/mix-php releases)
- 1. Identify all MixPHP 2.x servers running the sync-invoke TCP server functionality
- 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. 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. Verify the upgrade does not break application functionality by testing TCP server responses
- 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. 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
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-37552 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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