CVE-2026-119554: Moodle through 5.3.0, 5.2.4, 5.1.8, 5.0.11 and 4.5.15 SQL Injection via enrol_database Course idnumber

CVE-2026-119554 affects 245 listed versions of Moodle in the Dawnsentry catalogue.

5.9CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
30 October 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

245 of 250 listed versions are affected. Fixed in 5.3.1, 5.2.5, 5.1.9, 5.0.12, 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.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 4.3.8 and 185 more

What it is

Moodle 5.3.0, 5.2.0 through 5.2.4, 5.1.0 through 5.1.8, 5.0.0 through 5.0.11, and through 4.5.15 contain an sql injection vulnerability in the External database enrolment plugin via course idnumber. Editing teachers can store a backslash-quote payload in idnumber that executes during scheduled sync on MySQL/MariaDB external databases, reading data and manipulating enrolment results.

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

Published by Vulncheck on 30 October 2026. Last changed 4 November 2026.

Sources

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

Updated 1 December 2026.