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

CVE-2026-133062 affects 246 listed versions of Moodle in the Dawnsentry catalogue.

7.5CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
19 November 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Moodle

246 of 250 listed versions are affected. Fixed in 5.3.1, 5.2.5, 5.1.9, 5.1.0, 4.5.16. The newest release, 5.3.1, is not affected.

5.3.0 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.1.8 5.1.7 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.12 5.0.11 5.0.10 5.0.9 5.0.8 5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0 4.5.15 4.5.14 4.5.13 4.5.12 4.5.11 4.5.10 4.5.9 4.5.8 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.4.12 4.4.11 4.4.10 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.4 4.3.12 4.3.11 4.3.10 4.3.9 and 186 more

What it is

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.

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Fedora)

Published by Fedora on 19 November 2026. Last changed 23 November 2026.

Sources

Check one version you run: look CVE-2026-133062 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.