CVE-2026-133062: Moodle: sql injection in external database enrolment plugin

Published Nov 19, 2026
·
Updated

A flaw was found in Moodle's external database enrolment plugin (enroldatabase). Insufficient sanitization of data passed to queries against the external enrolment database allows an editing teacher to perform SQL injection against that external database. Exploitation requires the enroldatabase plugin to be enabled, which is not a default configuration.

Other sources

A flaw was found in Moodle's external database enrolment plugin. Insufficient sanitization of data passed to queries against the external database allows an authenticated user with course editing permissions to perform a Structured Query Language (SQL) injection attack. When this non-default plugin is enabled, an attacker can exploit this issue to view, modify, or delete sensitive records within the connected external database.

— MITRE

Affected Software

1 affected component
Moodle Moodle external database enrolment plugin (enrol_database)

Event History

Nov 19, 2026
Data Sourced
via Red Hat·11:59 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:21 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203