CVE-2026-133062
Moodle: sql injection in external database enrolment plugin
High · 7.5Fix available
- CVSS
- 7.5
- EPSS
- 0.48% (p43)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- —
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Fixed in
4.5.16 · 5.1.0 · 5.1.9 · 5.2.5 · 5.3.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | moodle | >=0, <4.5.16 | 4.5.16 |
| unknown | moodle | >=5.0.0, <5.1.0 | 5.1.0 |
| unknown | moodle | >=5.1.0, <5.1.9 | 5.1.9 |
| unknown | moodle | >=5.2.0, <5.2.5 | 5.2.5 |
| unknown | moodle | >=5.3.0, <5.3.1 | 5.3.1 |
Sources
References
- https://access.redhat.com/security/cve/CVE-2026-133062 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2576520 issue-tracking
- https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f other
- https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc other
- https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1 other