Skip to main content

MixPHP Framework EUVDEUVD-2026-26673

| CVE-2026-42472 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-05-01 mitre
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Redis instance
  2. Delivery
    Connect without authentication
  3. Exploit
    Inject malicious serialized object into session key
  4. Execution
    User request triggers unserialize()
  5. Persist
    Magic methods execute arbitrary code
  6. Impact
    Establish 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
May 01, 2026 - 19:22 NVD
9.8 (None) 9.8 (CRITICAL)
CVE Published
May 01, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Redis

View all
CVE-2026-48172 CRITICAL POC
10.0 May 21

Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers

CVE-2024-31449 HIGH
8.8

Alpine Linux: valkey fixed in 7.2.7-r0

CVE-2025-49844 CRITICAL POC
9.9 Oct 03

UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.

CVE-2025-46817 HIGH POC
8.8 Oct 03

Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle

CVE-2022-0543 CRITICAL POC
10.0 Feb 18

It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific

CVE-2018-11218 CRITICAL POC
9.8 Jun 17

Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,

CVE-2015-4335 CRITICAL POC
10.0 Jun 09

Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.

CVE-2016-8339 CRITICAL POC
9.8 Oct 28

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

CVE-2025-46819 HIGH POC
7.1 Oct 03

Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

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 HIGH POC
7.3 Oct 03

CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1

CVE-2026-27574 CRITICAL POC
9.9 Feb 21

Code injection in OneUptime monitoring via custom JS monitor using vm module. PoC and patch available.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy