The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42472

CVE-2026-42472: MixPHP Framework Deserialization Vulnerability

CVE-2026-42472 is an unsafe deserialization vulnerability in MixPHP Framework 2.x through 2.2.17 that allows attackers to exploit Redis data handling. This post covers technical details, affected versions, and mitigations.

Published: May 7, 2026

CVE-2026-42472 Overview

CVE-2026-42472 is an unsafe deserialization vulnerability in the MixPHP Framework affecting versions 2.x through 2.2.17. The framework's session and cache handlers invoke PHP's unserialize() function on data retrieved from Redis through the RedisHandler object. An attacker who can write to the Redis backend can supply a crafted serialized payload that triggers PHP object instantiation and magic method execution. This behavior maps to CWE-502: Deserialization of Untrusted Data and enables remote code execution in the context of the PHP application.

Critical Impact

Successful exploitation allows unauthenticated remote code execution on systems running MixPHP Framework 2.x through 2.2.17 when an attacker can influence Redis-backed session or cache data.

Affected Products

  • MixPHP Framework 2.0.x
  • MixPHP Framework 2.1.x
  • MixPHP Framework 2.x through 2.2.17

Discovery Timeline

  • 2026-05-01 - CVE-2026-42472 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-42472

Vulnerability Analysis

The vulnerability resides in MixPHP's session and cache handling code paths. The RedisHandler class reads serialized data from Redis and passes it directly into PHP's unserialize() function. PHP deserialization reconstructs objects of any class available in the application's autoloader and invokes magic methods such as __wakeup(), __destruct(), and __toString() during object lifecycle events. When attacker-controlled bytes drive this process, gadget chains assembled from framework or third-party library classes can lead to arbitrary file writes, command execution, or further memory corruption inside the PHP runtime.

The Redis sync-invoke server implementation referenced in the MixPHP Server.php source shows where serialized payloads are accepted and processed. A demonstration payload is published in this GitHub Gist example.

Root Cause

The root cause is the use of unserialize() against externally sourced bytes without prior integrity validation or schema enforcement. The framework treats Redis as a trusted store, but Redis instances are frequently exposed without authentication, shared across services, or reachable from compromised application components. Any attacker who can write to a session or cache key controls the byte stream consumed by unserialize().

Attack Vector

Exploitation proceeds over the network. An attacker writes a serialized PHP object payload to a Redis key that the application later loads as session or cache data. When MixPHP reads the key through the RedisHandler, unserialize() instantiates the attacker-defined object graph and triggers magic methods. With suitable gadget chains in the application's class loader, this yields arbitrary code execution under the PHP-FPM or worker process identity. No authentication or user interaction is required if the Redis backend is reachable or if a separate vulnerability allows writes to it.

No verified proof-of-concept code is provided in the vendor advisory beyond the published references. Refer to the MixPHP repository and the linked gist for technical context.

Detection Methods for CVE-2026-42472

Indicators of Compromise

  • Unexpected serialized PHP object payloads in Redis keys used for sessions or cache, particularly strings beginning with O: or a: followed by class names not used by the application.
  • PHP-FPM or worker processes spawning shell utilities such as sh, bash, python, or network clients shortly after Redis read operations.
  • New or modified files in web root directories created by the PHP process owner without a corresponding deployment event.

Detection Strategies

  • Inspect Redis traffic and key contents for serialized payloads referencing classes outside the application's expected session or cache schema.
  • Hunt for process lineage where PHP runtime processes invoke command interpreters or outbound network connections following session or cache read activity.
  • Apply static analysis to identify call sites of unserialize() operating on data sourced from RedisHandler and confirm whether the upgrade has been applied.

Monitoring Recommendations

  • Enable command auditing on Redis instances and forward MONITOR or slowlog data to a centralized log store for review.
  • Alert on anomalous child processes of PHP-FPM workers and on writes to web-accessible directories outside CI/CD pipelines.
  • Track outbound connections from application servers to unfamiliar destinations following web requests that touch session or cache logic.

How to Mitigate CVE-2026-42472

Immediate Actions Required

  • Restrict Redis network exposure to the application tier only and require authentication using the requirepass directive or Redis ACLs.
  • Audit Redis keyspaces for unexpected serialized payloads and rotate any session and cache keys that may have been written by untrusted sources.
  • Inventory all deployments of MixPHP Framework 2.x and identify instances at or below version 2.2.17.

Patch Information

No fixed version is identified in the published NVD record at the time of writing. Monitor the MixPHP GitHub repository for releases beyond 2.2.17 and apply updates that replace unserialize() with a safe encoding such as JSON or that enforce HMAC-based integrity checks on serialized session and cache data.

Workarounds

  • Replace the default RedisHandler session and cache backends with handlers that use JSON encoding instead of PHP serialization.
  • Place an HMAC signature around any serialized blob written to Redis and verify it before calling unserialize(), rejecting payloads that fail validation.
  • Segment Redis instances per application and disable shared instances that are reachable from lower-trust services or shared hosting tenants.
bash
# Example: enforce Redis authentication and bind to localhost only
# /etc/redis/redis.conf
bind 127.0.0.1
requirepass <strong-random-secret>
protected-mode yes
rename-command FLUSHALL ""
rename-command CONFIG ""

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechMixphp Framework

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Gist Example

  • GitHub Mix PHP Repository

  • GitHub Mix PHP Server File
  • Related CVEs
  • CVE-2026-42475: MixPHP Framework SQLi Vulnerability

  • CVE-2026-42471: MixPHP Framework RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English