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-2025-67847

CVE-2025-67847: Moodle Restore Interface RCE Vulnerability

CVE-2025-67847 is a remote code execution vulnerability in Moodle's restore interface caused by insufficient input validation. Attackers can execute arbitrary code and fully compromise the system. This article covers the technical details, affected versions, impact assessment, and mitigation strategies.

Published: January 30, 2026

CVE-2025-67847 Overview

A critical code injection vulnerability has been identified in Moodle's restore interface. An authenticated attacker with access to the restore functionality can trigger server-side execution of arbitrary code due to insufficient validation of restore input data. This flaw allows malicious input to be unintentionally interpreted by core restore routines, potentially leading to a full compromise of the Moodle application, including unauthorized access to sensitive data, modification of educational content, and complete server takeover.

Critical Impact

Successful exploitation could result in complete compromise of the Moodle application, enabling attackers to execute arbitrary code on the server, access sensitive user data, and potentially pivot to other systems in the network.

Affected Products

  • Moodle (specific versions not disclosed in advisory)

Discovery Timeline

  • 2026-01-23 - CVE-2025-67847 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2025-67847

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, also known as Code Injection). The flaw exists within Moodle's backup and restore functionality, which is designed to allow administrators and instructors to create and restore course backups. The restore interface fails to properly validate user-supplied input before processing it through the core restore routines.

When a backup file is restored, the system parses and processes various metadata and content elements. Due to insufficient input validation, an attacker can craft a malicious backup file containing code constructs that, when processed by the restore routines, are interpreted and executed on the server rather than being treated as data. This represents a classic code injection scenario where the boundary between code and data is not properly enforced.

The network-accessible nature of this vulnerability, combined with the low attack complexity and potential for complete system compromise, makes this a significant security concern for organizations running Moodle installations.

Root Cause

The root cause of this vulnerability lies in the insufficient validation of input data during the restore process. The core restore routines fail to properly sanitize or validate content from backup files before processing, allowing specially crafted input to be interpreted as executable code. This violates the principle of treating all external input as untrusted and demonstrates a failure to implement proper input validation at the security boundary where backup data enters the system.

Attack Vector

The attack requires an authenticated user with access to Moodle's restore interface—typically administrators, course managers, or instructors with backup/restore permissions. The attacker crafts a malicious backup file containing carefully constructed payloads within the backup structure. When this file is uploaded and processed through the restore interface, the insufficient validation allows the malicious payload to be executed server-side.

The attack follows this general pattern:

  1. The attacker obtains or creates credentials with restore permissions
  2. A malicious backup file is crafted containing code injection payloads
  3. The attacker initiates a restore operation using the malicious file
  4. The restore routines process the file without adequate validation
  5. The injected code is executed with the privileges of the web server process

Detection Methods for CVE-2025-67847

Indicators of Compromise

  • Unusual file creation or modification in Moodle's data directories following restore operations
  • Unexpected outbound network connections from the Moodle server
  • Suspicious processes spawned by the web server process (e.g., php, apache, or nginx)
  • Anomalous backup files in upload or temporary directories with non-standard content structures

Detection Strategies

  • Implement web application firewall (WAF) rules to inspect uploaded backup files for suspicious patterns
  • Enable and monitor PHP error logs for code execution errors or warnings during restore operations
  • Deploy file integrity monitoring on Moodle installation directories to detect unauthorized modifications
  • Configure SIEM rules to correlate restore operations with subsequent suspicious system activity

Monitoring Recommendations

  • Enable comprehensive logging for all backup and restore operations in Moodle
  • Monitor system calls and process creation events on the Moodle server for anomalies
  • Implement network monitoring to detect unexpected outbound connections from the web server
  • Review restore activity logs regularly for operations performed by users who don't typically use this functionality

How to Mitigate CVE-2025-67847

Immediate Actions Required

  • Restrict restore permissions to only essential administrative personnel until patches are applied
  • Implement network segmentation to limit the blast radius of potential compromise
  • Enable enhanced logging and monitoring for restore operations
  • Review recent restore operations for any suspicious activity

Patch Information

Refer to the Red Hat CVE-2025-67847 Advisory for specific patch information and updates from Moodle. Organizations should apply vendor-provided security patches as soon as they become available. Monitor the official Moodle security announcements for patched versions and upgrade guidance.

Workarounds

  • Temporarily disable the restore functionality if not operationally required
  • Implement strict access controls limiting restore permissions to highly trusted administrators only
  • Deploy web application firewall rules to inspect and filter backup file uploads
  • Run Moodle in an isolated environment with restricted network access and system permissions

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMoodle

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Red Hat CVE-2025-67847 Advisory
  • Related CVEs
  • CVE-2026-26045: Moodle Backup Restore RCE Vulnerability

  • CVE-2026-26046: Moodle TeX Filter RCE Vulnerability

  • CVE-2025-67851: Moodle Formula Injection Vulnerability

  • CVE-2025-3642: Moodle LMS EQUELLA Repository RCE Flaw
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