Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Redis instance
-
DeliveryConnect without authentication
-
ExploitInject malicious serialized object into session key
-
ExecutionUser request triggers unserialize()
-
PersistMagic methods execute arbitrary code
-
ImpactEstablish persistence or exfiltrate data
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 | Remote exploitation requires write access to the Redis instance used by MixPHP for session or cache storage. This occurs when: (1) Redis is bound to public interfaces (0.0.0.0) without authentication enabled via requirepass configuration - the most critical and exploitable scenario allowing direct internet exploitation, or (2) Attacker has compromised another system on the network with Redis access, enabling lateral movement attacks, or (3) Application contains a separate vulnerability allowing indirect Redis write operations such as cache poisoning or session injection through the application layer. Additionally, the MixPHP application must be actively using the RedisHandler for session management or caching - applications using file-based sessions or alternative cache backends are not vulnerable to this specific deserialization vector. The CVSS vector AV:N/AC:L/PR:N suggests the vulnerability assumes network-accessible Redis without authentication, which represents the worst-case deployment scenario but is not universal across all MixPHP installations. |
| Impact | This vulnerability presents critical real-world risk despite lack of confirmed exploitation data. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates remote unauthenticated exploitation with low attack complexity, meaning any network-accessible MixPHP application using Redis for sessions or caching is vulnerable. SSVC assessment confirms the vulnerability is automatable with total technical impact, supporting the high-risk classification. However, exploitation requires a critical prerequisite: the attacker must have the ability to write to the Redis instance used by the application. This is NOT a default network attack against MixPHP itself - it requires either Redis misconfiguration (exposed without authentication), compromise of another system with Redis write access, or exploitation of a separate vulnerability allowing Redis data injection. The practical risk varies dramatically by deployment: internet-exposed Redis instances without authentication create immediate remote code execution risk, while properly firewalled Redis backends significantly reduce attack surface. EPSS and KEV data missing - unable to assess real-world exploitation prevalence. The GitHub gist reference suggests researcher disclosure with potential POC, increasing exploitation likelihood if technical details are public. |
| Exploit ScenarioDerived | An attacker identifies a MixPHP 2.x application using Redis for session management with the Redis instance exposed on the internet without authentication (common misconfiguration). The attacker connects directly to Redis using redis-cli or a custom script, identifies session keys used by MixPHP (typically prefixed patterns), and overwrites a session value with a crafted serialized PHP object containing a gadget chain that executes system commands upon deserialization. When the legitimate user's next request causes MixPHP to retrieve and unserialize that session data, the malicious object's magic methods trigger, executing arbitrary code with the web server's privileges. The GitHub gist reference at https://gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975 likely contains technical details or proof-of-concept code demonstrating this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Remote unauthenticated code execution in MixPHP Framework 2.x through 2.2.17 allows attackers to execute arbitrary PHP code by injecting malicious serialized objects into Redis-backed session or cache storage. The framework's RedisHandler directly deserializes untrusted data from Redis using PHP's unserialize() function without validation. CVSS 9.8 with network vector, low complexity, and no privileges required. EPSS and KEV status not provided; SSVC framework marks this as automatable with total technical impact, indicating high exploitability despite no confirmed active exploitation at time of analysis.
RemediationAI
Upgrade to MixPHP Framework version 3.x or later if available, as version 2.2.17 is the last confirmed vulnerable release in the 2.x series. No specific patched version within the 2.x branch is identified in available data - vendors should consult the official MixPHP GitHub repository at https://github.com/mix-php/mix for latest security updates. If immediate upgrade is not feasible, implement these compensating controls with noted limitations: (1) Restrict Redis network access to localhost only or specific application servers via firewall rules and Redis bind configuration - this prevents external attackers from injecting malicious data but does not protect against lateral movement attacks; (2) Enable Redis authentication using requirepass directive - adds barrier but authenticated attackers or credential theft still enables exploitation; (3) Implement input validation and integrity checks before deserialization by replacing unserialize() calls with JSON-based serialization or cryptographically signed serialization wrappers - requires code modification and testing for compatibility with existing session data; (4) Deploy Redis in isolated network segments with strict ACLs limiting write access to only the application server - reduces attack surface but increases operational complexity. All mitigations except code-level fixes treat symptoms rather than root cause.
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 is a PHP development framework that provides session and cache management through various handlers including Redis. The vulnerability exists in the RedisHandler implementation where session and cache data retrieved from Redis storage is passed directly to PHP's unserialize() function. This is a classic CWE-502 (Deserialization of Untrusted Data) vulnerability. PHP object deserialization is inherently dangerous when applied to attacker-controlled data because serialized PHP objects can trigger magic methods (__wakeup, __destruct, __toString) that execute code during the deserialization process. By crafting malicious serialized objects leveraging existing classes in the application or framework (gadget chains), an attacker can achieve arbitrary code execution. The affected code is visible in the GitHub repository at version 2.2.17 in the sync-invoke Server.php implementation, which handles Redis operations for distributed session/cache synchronization.
Know when Redis 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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Unsafe deserialization vulnerability in MixPHP Framework 2.x thru 2.2.17. The session and cache handlers use unserialize() on data from Redis in the RedisHandler object.
Executive ViewAI
MixPHP Framework versions 2.0 through 2.2.17 contain a critical remote code execution vulnerability in Redis session handling that allows unauthenticated attackers to execute arbitrary PHP code on affected servers. Organizations running MixPHP-based applications face immediate risk of full system compromise through malicious serialized object injection, requiring urgent inventory and mitigation of all affected instances.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to Redis instances to trusted application servers only using firewall rules and authentication credentials; (2) Disable Redis-backed session/cache storage and switch to file-based or in-memory alternatives; (3) Implement input validation and sanitization on all user-supplied data before session/cache storage; (4) Monitor Redis for unusual connection patterns and malformed serialized object submissions; (5) Apply principle of least privilege to application service accounts accessing Redis.
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.
Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers
Alpine Linux: valkey fixed in 7.2.7-r0
UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.
Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle
It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,
Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.
A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr
Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig
Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in
CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1
Code injection in OneUptime monitoring via custom JS monitor using vm module. PoC and patch available.
EUVD-2026-26673
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB