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
    • 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-2024-55638

CVE-2024-55638: Drupal Core RCE Vulnerability

CVE-2024-55638 is a deserialization flaw in Drupal Core that enables remote code execution through gadget chain exploitation. This post covers the technical details, affected versions, security impact, and mitigation.

Published: January 28, 2026

CVE-2024-55638 Overview

CVE-2024-55638 is a Deserialization of Untrusted Data vulnerability in Drupal Core that enables Object Injection attacks. The vulnerability exists due to the presence of a gadget chain within Drupal core—a sequence of methods that can be exploited when an insecure deserialization vulnerability exists on the site. While the gadget chain itself presents no direct threat, it serves as an attack vector that can be leveraged to achieve remote code execution if the application deserializes untrusted data due to another vulnerability.

This vulnerability is particularly concerning for Drupal installations running affected versions, as it lowers the barrier for attackers who discover or exploit separate deserialization flaws within the same application.

Critical Impact

This vulnerability enables attackers to potentially achieve remote code execution through PHP Object Injection when combined with other deserialization vulnerabilities, compromising the confidentiality, integrity, and availability of affected Drupal installations.

Affected Products

  • Drupal Core versions 7.0 through 7.101
  • Drupal Core versions 8.0.0 through 10.2.10
  • Drupal Core versions 10.3.0 through 10.3.8

Discovery Timeline

  • 2024-12-10 - CVE-2024-55638 published to NVD
  • 2025-06-02 - Last updated in NVD database

Technical Details for CVE-2024-55638

Vulnerability Analysis

The vulnerability stems from Drupal Core containing a chain of exploitable methods known as a "gadget chain." In PHP applications, gadget chains are sequences of class methods that can be chained together during the deserialization process. When an attacker can control the serialized data being passed to PHP's unserialize() function, they can instantiate arbitrary objects and invoke magic methods such as __wakeup(), __destruct(), or __toString().

In the context of CVE-2024-55638, Drupal Core's codebase contains classes with methods that, when chained together during deserialization, can lead to dangerous operations including arbitrary code execution. The vulnerability relates to both CWE-502 (Deserialization of Untrusted Data) and CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes).

Root Cause

The root cause lies in the existence of exploitable gadget chains within Drupal Core's PHP class structure. These chains exist due to the presence of magic methods in various classes that perform sensitive operations when invoked. While Drupal itself may not directly deserialize untrusted input in the affected code paths, the presence of these gadget chains creates a latent vulnerability that can be triggered if any other part of the application (including contributed modules or custom code) performs insecure deserialization.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction to exploit. An attacker would need to identify a deserialization sink within the target Drupal application—a location where user-controlled data is passed to unserialize(). Once identified, the attacker can craft a malicious serialized payload that leverages Drupal Core's gadget chain to achieve code execution.

The exploitation process typically follows this pattern:

  1. The attacker identifies an insecure deserialization entry point in the target application
  2. A malicious serialized PHP object payload is crafted using Drupal Core's gadget chain
  3. The payload is delivered to the deserialization sink via network request
  4. Upon deserialization, PHP instantiates the attacker-controlled objects
  5. Magic methods are invoked, triggering the gadget chain
  6. The chain culminates in arbitrary code execution on the server

For detailed technical information about the vulnerability mechanism and gadget chain specifics, refer to the Drupal Security Advisory SA-CORE-2024-008.

Detection Methods for CVE-2024-55638

Indicators of Compromise

  • Unusual PHP serialized data appearing in web requests, logs, or database fields containing serialized object notation (e.g., O: prefix for objects)
  • Unexpected outbound network connections from the web server following incoming requests
  • Anomalous PHP process behavior including execution of system commands or file system modifications
  • Web server error logs containing PHP unserialize warnings or errors with stack traces involving Drupal core classes

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block serialized PHP object patterns in request parameters, cookies, and POST bodies
  • Implement runtime application self-protection (RASP) solutions capable of monitoring PHP deserialization operations
  • Enable verbose logging for PHP applications to capture deserialization attempts and associated stack traces
  • Utilize SentinelOne's Singularity platform to detect post-exploitation behavior such as suspicious process spawning from PHP workers

Monitoring Recommendations

  • Monitor web server access logs for requests containing encoded or serialized PHP objects
  • Implement file integrity monitoring on critical Drupal core and configuration files
  • Track process creation events originating from web server processes for signs of command execution
  • Alert on any modifications to Drupal's code base or unexpected PHP file creations in web-accessible directories

How to Mitigate CVE-2024-55638

Immediate Actions Required

  • Immediately upgrade Drupal Core to version 7.102, 10.2.11, or 10.3.9 or later depending on your installed branch
  • Audit all custom and contributed modules for insecure uses of PHP's unserialize() function
  • Implement input validation and sanitization for any data that may be passed to deserialization functions
  • Consider disabling or removing unnecessary contributed modules until they can be audited for deserialization vulnerabilities

Patch Information

Drupal has released security updates that address this vulnerability by removing or modifying the exploitable gadget chain within Drupal Core. The patched versions are:

  • Drupal 7.x: Upgrade to version 7.102 or later
  • Drupal 10.2.x: Upgrade to version 10.2.11 or later
  • Drupal 10.3.x: Upgrade to version 10.3.9 or later

For complete patch details and upgrade instructions, see the Drupal Security Advisory SA-CORE-2024-008.

Workarounds

  • If immediate patching is not possible, implement strict Web Application Firewall rules to block serialized PHP object patterns in all request vectors
  • Disable any functionality that accepts serialized data from untrusted sources until patches can be applied
  • Employ network segmentation to limit the blast radius of a potential compromise
  • Implement PHP configuration hardening using disable_functions directive to restrict dangerous functions that may be called through gadget chains
bash
# Drupal upgrade commands
# For Composer-managed Drupal installations:
composer update drupal/core --with-dependencies
drush updatedb
drush cache:rebuild

# Verify the installed version after upgrade:
drush status | grep "Drupal version"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDrupal

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability6.17%

  • 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-915

  • CWE-502
  • Vendor Resources
  • Drupal Security Advisory
  • Related CVEs
  • CVE-2020-13671: Drupal Core RCE Vulnerability

  • CVE-2024-55637: Drupal Core RCE Vulnerability

  • CVE-2024-55636: Drupal Core RCE Vulnerability

  • CVE-2022-25277: Drupal Core RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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