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-2026-30884

CVE-2026-30884: Moodle CustomCert Info Disclosure Flaw

CVE-2026-30884 is an information disclosure vulnerability in the Moodle CustomCert plugin that allows teachers to read and modify certificate elements across courses. This article covers technical details, affected versions, and patches.

Published: March 20, 2026

CVE-2026-30884 Overview

CVE-2026-30884 is a critical Insecure Direct Object Reference (IDOR) vulnerability affecting the mdjnelson/moodle-mod_customcert plugin, a popular Moodle plugin for creating dynamically generated certificates with complete customization via the web browser. The vulnerability allows teachers with the mod/customcert:manage capability in any single course to read and silently overwrite certificate elements belonging to any other course in the Moodle installation.

The core_get_fragment callback editelement and the mod_customcert_save_element web service both fail to verify that the supplied elementid belongs to the authorized context, enabling cross-course information disclosure and data tampering. This represents a severe authorization bypass that could compromise academic integrity across an entire Moodle installation.

Critical Impact

Teachers with limited permissions can access and modify certificate data across all courses, potentially forging certificates or exfiltrating sensitive information from any course in the system.

Affected Products

  • moodle-mod_customcert versions prior to 4.4.9
  • moodle-mod_customcert versions prior to 5.0.3
  • Moodle installations utilizing the customcert plugin

Discovery Timeline

  • 2026-03-18 - CVE-2026-30884 published to NVD
  • 2026-03-18 - Last updated in NVD database

Technical Details for CVE-2026-30884

Vulnerability Analysis

This vulnerability is classified as CWE-639 (Authorization Bypass Through User-Controlled Key), commonly known as an Insecure Direct Object Reference (IDOR). The flaw exists in the plugin's web service endpoints and fragment callback handlers that process certificate element operations.

When a user with the mod/customcert:manage capability makes requests to edit or save certificate elements, the system accepts an elementid parameter but fails to validate whether that element belongs to a course the user is authorized to manage. This architectural oversight means the authorization check only verifies that the user has the manage capability in at least one course context, rather than verifying authorization for the specific element being accessed.

The attack surface is network-accessible with low complexity requirements. An attacker needs only low-privilege access (a teacher role with manage capability in any single course) to exploit this vulnerability. The scope is changed because exploitation affects resources beyond the vulnerable component's authorization boundary, impacting confidentiality and integrity across the entire Moodle installation.

Root Cause

The root cause is insufficient authorization validation in the core_get_fragment callback for editelement and the mod_customcert_save_element web service. Both handlers accept user-supplied elementid values without verifying that the element belongs to a certificate within the user's authorized course context. The authorization logic checks capability at the course level but doesn't bind that check to the specific resource being manipulated.

Attack Vector

An attacker exploiting this vulnerability would need to be authenticated as a teacher with mod/customcert:manage capability in at least one course. From there, the attack proceeds through network-based requests to the vulnerable web service endpoints.

The attack involves enumerating or guessing elementid values from other courses and submitting requests to either retrieve element data (information disclosure) or overwrite element configurations (data tampering). Since element IDs are typically sequential integers, enumeration is straightforward. The attacker can use the core_get_fragment callback to read certificate element configurations from any course, or use mod_customcert_save_element to modify those elements silently without triggering any authorization failures.

This cross-course access enables scenarios including exfiltrating certificate templates and student data from confidential courses, modifying certificate content to forge credentials, and tampering with academic records across the institution.

Detection Methods for CVE-2026-30884

Indicators of Compromise

  • Unusual web service calls to mod_customcert_save_element with element IDs that don't belong to the requesting user's courses
  • Access logs showing repeated enumeration patterns of element IDs
  • Modifications to certificate elements by users who don't have direct access to the affected courses
  • Moodle event logs showing core_get_fragment callbacks for editelement across course boundaries

Detection Strategies

  • Monitor Moodle access logs for patterns of sequential elementid enumeration in customcert-related endpoints
  • Implement log correlation to detect users accessing certificate elements outside their assigned courses
  • Review Moodle event logs for cross-course certificate element modifications
  • Enable verbose logging on the customcert plugin to track element access patterns

Monitoring Recommendations

  • Set up alerts for web service calls to mod_customcert_save_element from users with limited course enrollments
  • Implement audit logging for all certificate element read and write operations with context validation
  • Consider deploying a web application firewall (WAF) rule to monitor for IDOR-style enumeration patterns
  • Regularly audit user role assignments and capability distributions for the mod/customcert:manage capability

How to Mitigate CVE-2026-30884

Immediate Actions Required

  • Upgrade moodle-mod_customcert to version 4.4.9 or 5.0.3 immediately
  • Audit certificate elements across all courses for unauthorized modifications
  • Review access logs for signs of exploitation prior to patching
  • Consider temporarily restricting the mod/customcert:manage capability until patches are applied

Patch Information

The vulnerability has been fixed in moodle-mod_customcert versions 4.4.9 and 5.0.3. The security patches implement proper context validation to ensure that the supplied elementid belongs to a certificate within the user's authorized course context. Detailed information is available in the GitHub Security Advisory GHSA-8pjr-j7r4-ccjx.

The fixes can be reviewed in the following commits:

  • Commit ddc8f01f1e19fb61202f6013a38ef757486d3ba0
  • Commit a1494a80fb953f187f7888a7394cbf9d13c28468

Workarounds

  • Temporarily disable the customcert plugin until the patch can be applied
  • Restrict the mod/customcert:manage capability to only highly trusted administrative users
  • Implement network-level access controls to limit who can reach the Moodle web services
  • Enable enhanced logging and monitoring to detect potential exploitation attempts while awaiting patching
bash
# Example: Restrict customcert capability via Moodle CLI
# Review and restrict role assignments for mod/customcert:manage
php admin/cli/check_capability.php --capability=mod/customcert:manage --role=editingteacher
# Consider creating a custom role with limited scope for certificate management

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMoodle

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Security Advisory GHSA-8pjr-j7r4-ccjx
  • Related CVEs
  • CVE-2025-67857: Moodle Information Disclosure Flaw

  • CVE-2025-32044: Moodle Information Disclosure Flaw

  • CVE-2024-45689: Moodle Information Disclosure Flaw

  • CVE-2026-26045: Moodle Backup Restore 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