CVE-2026-133062
published high CVSS 3.1 · 7.5Moodle: sql injection in external database enrolment plugin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle0 to < 4.5.16 · 5.0.0 to < 5.1.0 · 5.1.0 to < 5.1.9 · 5.2.0 to < 5.2.5 · 5.3.0 to < 5.3.1 · Other versions: unaffected | Affected | Not stated | fedora |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 0 to < 4.5.16 (affected · semver)5.0.0 to < 5.1.0 (affected · semver)5.1.0 to < 5.1.9 (affected · semver)5.2.0 to < 5.2.5 (affected · semver)5.3.0 to < 5.3.1 (affected · semver)Default: unaffected | fedora · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
5- https://access.redhat.com/security/cve/CVE-2026-133062
- RHBZ#2576520 https://bugzilla.redhat.com/show_bug.cgi?id=2576520
- https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f
- https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc
- https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1
Provider assertions
2fedora · cna
Moodle: sql injection in external database enrolment plugin
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e70c0e60e3f29bd5abb8577f5095584ce32af3b3e5362db7a943bb90e1b32341
- Ingested
- 19 Nov 2026, 20:31:22 UTC
- Source record
- Official CVE record