CVE-2026-119554
Moodle 5.3.0, 5.2.0 through 5.2.4, 5.1.0 through 5.1.8, 5.0.0 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- abraxaslabs.tech/research/moodle-enrol-database-sqli
- github.com/moodle/moodle
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L527-L528
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L918-L926
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L971-L979
- www.vulncheck.com/advisories/moodle-through-5.3.0-5.2.4-5.1.8-5.0.11-and-4.5.15-sql-inject
- nvd.nist.gov/vuln/detail/CVE-2026-119554
- cve.org/CVERecord?id=CVE-2026-119554
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.