Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain localhost access via SSRF/local shell
-
DeliveryIdentify sync-invoke TCP listener port
-
ExploitCraft malicious Opis\Closure payload
-
ExecutionSend serialized closure to 127.0.0.1 port
-
PersistTrigger unsafe unserialize() + call_user_func()
-
ImpactExecute arbitrary PHP code as application user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local network access to TCP port on 127.0.0.1 where the MixPHP sync-invoke server is listening. Attacker must be on the same physical or virtual host as the vulnerable MixPHP application, achieved through: prior compromise of another service on the same server, legitimate local user account access, SSRF vulnerability in any localhost-accessible application that can proxy TCP requests, or container escape in multi-tenant environments with shared network namespaces. The server binds exclusively to 127.0.0.1 (not 0.0.0.0), which prevents direct remote network exploitation and requires the attacker to already have some level of access to the host system or exploit an SSRF vector. No authentication, privilege escalation, or user interaction is required once localhost network access is established. The sync-invoke component must be actively running and listening (not all MixPHP deployments enable this feature). These conditions significantly limit the attack surface compared to remotely exploitable vulnerabilities, making this primarily a post-exploitation or lateral movement vector rather than an initial access technique. |
| Impact | Real-world risk is moderate-to-high depending on deployment context. The CVSS score of 8.4 (High) accurately reflects the severe impact (complete system compromise with code execution as the application user), but the AV:L (local attack vector) substantially limits the attack surface compared to network-exploitable vulnerabilities. The AC:L (low complexity) and PR:N (no privileges required) indicate straightforward exploitation once localhost access is achieved. No EPSS score, KEV status, or SSVC data provided, suggesting this is not yet widely exploited in the wild. However, the technical barrier is low for attackers who have already compromised adjacent services, gained local shell access, or identified SSRF vulnerabilities in applications running MixPHP. The primary risk scenarios include: multi-tenant environments where untrusted users have localhost network access, containerized deployments with insufficient network isolation, and applications vulnerable to SSRF that can proxy requests to 127.0.0.1. Organizations running MixPHP 2.x in production should prioritize assessment based on whether their architecture exposes localhost TCP ports to potentially hostile actors. The absence of authentication on a code-execution interface is a critical design flaw that elevates risk beyond typical deserialization issues. |
| Exploit ScenarioDerived | An attacker who has compromised a web application running on the same server as MixPHP discovers the sync-invoke TCP server listening on 127.0.0.1:9501 (default or discovered port). The attacker crafts a malicious PHP serialized closure using Opis\Closure that contains a system command execution payload, then sends it via TCP socket to the localhost port. MixPHP's Server.php deserializes the closure without validation and executes it via call_user_func(), granting the attacker arbitrary code execution with the privileges of the MixPHP process. The attacker establishes persistence, exfiltrates application secrets, or pivots to other systems on the internal network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Arbitrary code execution in MixPHP Framework 2.x through 2.2.17 allows local attackers to execute malicious PHP closures via unauthenticated TCP connections to the sync-invoke server. The vulnerability stems from unsafe deserialization of untrusted data on localhost-bound port 127.0.0.1, where Server.php directly passes socket data to Opis\Closure\unserialize() and executes the result without authentication or signature verification. Exploitation requires local network access or SSRF capability against the application server. No public exploit code identified at time of analysis, but the attack mechanism is straightforward for attackers with PHP deserialization knowledge.
RemediationAI
No vendor-released patch identified at time of analysis for MixPHP 2.2.17 or newer 2.x versions. The framework repository at https://github.com/mix-php/mix should be monitored for security advisories and patched releases addressing this deserialization flaw. Immediate compensating controls include: Disable the sync-invoke TCP server component entirely if not operationally required for inter-process communication (assess impact on application functionality first). Implement network-level access controls using firewall rules or iptables to restrict connections to the sync-invoke port only from explicitly trusted local processes or users, though this requires precise process-to-port mapping and may break legitimate IPC. Deploy application-level authentication by modifying Server.php to validate HMAC signatures or pre-shared tokens on incoming messages before deserialization (requires code changes and coordination with client components). Containerize MixPHP applications with strict network policies that prevent localhost port access from untrusted containers or host processes (note: shared network namespaces defeat this control). Monitor for migration paths to MixPHP 3.x or alternative frameworks, as the 2.x branch may be approaching end-of-life. Each mitigation has trade-offs: disabling sync-invoke may break functionality, authentication requires code maintenance, and network isolation adds operational complexity. Review the proof-of-concept at https://gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975 to understand the exact attack mechanism and validate effectiveness of mitigations in your environment.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MixPHP Framework's sync-invoke component implements a TCP server for inter-process communication using PHP object serialization. The vulnerability exists at Server.php line 87, where the server accepts TCP connections on localhost (127.0.0.1) and deserializes incoming data using Opis\Closure\unserialize(), a library that extends PHP's native unserialization to support closures and anonymous functions. The deserialized closure is then immediately executed via call_user_func() without any validation. This represents a classic unsafe deserialization vulnerability (typically CWE-502), where untrusted data controls object instantiation and code execution. PHP deserialization attacks are well-understood and frequently leverage magic methods (__wakeup, __destruct, __toString) or in this case, direct closure execution to achieve remote code execution. The localhost binding provides some network-level protection but does not prevent exploitation by local users, compromised applications on the same host, or SSRF vectors.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
DescriptionCVE.org
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.
Executive ViewAI
MixPHP Framework versions 2.0 through 2.2.17 contain an arbitrary code execution vulnerability in the sync-invoke server that allows local attackers to execute malicious PHP code via unauthenticated TCP connections. This vulnerability poses significant risk to organizations running MixPHP, as attackers with local network access or the ability to trigger server-side request forgery can execute arbitrary commands with application privileges, potentially leading to full system compromise.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict network access controls limiting TCP connections to the sync-invoke server to only localhost and explicitly trusted internal services; (2) Deploy host-based firewall rules to restrict inbound connections on affected ports; (3) Isolate MixPHP instances within network segments with minimal lateral movement capability; (4) Monitor firewall and application logs for unauthorized connection attempts to the sync-invoke service; (5) Implement application-layer authentication and rate limiting on sync-invoke endpoints if framework supports configuration options.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-26670
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB