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-26533

CVE-2025-26533: Moodle SQL Injection Vulnerability

CVE-2025-26533 is an SQL injection vulnerability in Moodle's module list filter within course search that enables attackers to manipulate database queries. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-26533 Overview

CVE-2025-26533 is a critical SQL injection vulnerability discovered in the module list filter functionality within Moodle's course search feature. This vulnerability allows unauthenticated remote attackers to inject malicious SQL queries through the course search interface, potentially leading to complete database compromise, unauthorized data access, and system integrity violations.

SQL injection vulnerabilities in learning management systems like Moodle pose significant risks to educational institutions, as they can expose sensitive student records, grades, personal information, and administrative credentials.

Critical Impact

This SQL injection vulnerability allows unauthenticated attackers to manipulate database queries through the course search module filter, potentially enabling complete database access, data exfiltration, and system compromise.

Affected Products

  • Moodle (multiple versions)
  • Moodle Learning Management System with course search functionality enabled
  • Self-hosted and managed Moodle installations with vulnerable module list filter components

Discovery Timeline

  • 2025-02-24 - CVE-2025-26533 published to NVD
  • 2025-08-06 - Last updated in NVD database

Technical Details for CVE-2025-26533

Vulnerability Analysis

The vulnerability exists within the module list filter component of Moodle's course search functionality. This SQL injection flaw (CWE-89) occurs due to improper sanitization of user-supplied input in the module list filter parameters. When users interact with the course search feature, the filter values are incorporated into SQL queries without adequate validation or parameterization.

The vulnerability is particularly severe because it does not require authentication to exploit. An attacker with network access to a vulnerable Moodle installation can craft malicious requests to the course search endpoint, injecting arbitrary SQL commands that execute with the database user's privileges.

Successful exploitation could allow an attacker to read sensitive data from the database including user credentials, student records, and grade information. Beyond data theft, attackers could modify or delete database contents, potentially disrupting educational operations or manipulating academic records.

Root Cause

The root cause of CVE-2025-26533 is inadequate input validation and improper use of database query construction in the module list filter component. Instead of using parameterized queries or prepared statements, the vulnerable code directly incorporates user input into SQL query strings, creating a classic SQL injection attack surface. The filter parameters intended for narrowing course search results are processed without proper escaping or type validation.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to the Moodle course search functionality with malicious SQL payloads embedded in the module list filter parameters.

The exploitation process involves identifying the vulnerable endpoint, crafting SQL injection payloads that manipulate the query logic, and extracting database information through techniques such as UNION-based injection, blind injection, or error-based extraction depending on the database configuration and error handling.

Detection Methods for CVE-2025-26533

Indicators of Compromise

  • Unusual or malformed requests to course search endpoints containing SQL syntax characters (', ", ;, --, UNION, SELECT)
  • Database error messages appearing in application logs or responses related to course search queries
  • Unexpected database queries or access patterns originating from the Moodle web application
  • Evidence of data exfiltration or unauthorized database reads in database audit logs

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block SQL injection patterns targeting course search functionality
  • Monitor application logs for SQL error messages, particularly those referencing the module list filter or course search components
  • Implement database activity monitoring to detect anomalous query patterns including UNION statements, subqueries, or time-delay functions
  • Configure intrusion detection systems (IDS) with signatures for common SQL injection payloads

Monitoring Recommendations

  • Enable verbose logging on Moodle application servers to capture detailed request parameters for course search operations
  • Implement real-time alerting for database query anomalies and elevated privilege usage
  • Review Moodle access logs regularly for suspicious patterns in course search requests
  • Monitor for outbound data transfers that could indicate successful data exfiltration

How to Mitigate CVE-2025-26533

Immediate Actions Required

  • Update Moodle to the latest patched version that addresses MDL-84271
  • If immediate patching is not possible, consider temporarily disabling or restricting access to the course search functionality
  • Review database access logs for evidence of prior exploitation attempts
  • Implement WAF rules to block SQL injection attempts targeting the vulnerable endpoint

Patch Information

Moodle has released patches addressing this vulnerability under the tracking identifier MDL-84271. Administrators should apply the security update immediately by updating to the latest stable version of Moodle. Detailed patch information and commit history can be found in the Moodle Commit Log Entry. Additional discussion and guidance is available in the Moodle Forum Discussion Thread.

Workarounds

  • Implement network-level access controls to restrict access to course search functionality to authenticated internal users only
  • Deploy a web application firewall with SQL injection detection rules in front of Moodle installations
  • Use database connection accounts with minimal required privileges to limit the impact of successful SQL injection
  • Consider disabling the module list filter in course search until patches can be applied
bash
# Configuration example - Restrict access to course search at web server level
# Apache example - Add to .htaccess or virtual host configuration
<Location "/course/search.php">
    Require valid-user
    # Or restrict to specific IP ranges
    # Require ip 192.168.1.0/24
</Location>

# Nginx example - Add to server block
location /course/search.php {
    auth_basic "Restricted Access";
    auth_basic_user_file /etc/nginx/.htpasswd;
    # Or restrict by IP
    # allow 192.168.1.0/24;
    # deny all;
}

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechMoodle

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.34%

  • 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-89
  • Vendor Resources
  • Moodle Commit Log Entry

  • Moodle Forum Discussion Thread
  • Related CVEs
  • CVE-2022-0983: Moodle SQL Injection Vulnerability

  • CVE-2022-0332: Moodle SQL Injection Vulnerability

  • CVE-2021-36393: Moodle SQL Injection Vulnerability

  • CVE-2026-30884: Moodle CustomCert Info Disclosure 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