SQL Injection in Moodle Project
CVE-2026-119554
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Moodle Project — versions 5.3.0
Weakness classification (CWE)
References
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (technical-description)
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (technical-description)
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (technical-description)
- abraxaslabs.tech/research/moodle-enrol-database-sqli (third-party-advisory)
- github.com/moodle/moodle (product)
- www.vulncheck.com/advisories/moodle-through-5.3.0-5.2.4-5.1.8-5.0.11-and-4.5.15… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-119554?
- CVE-2026-119554 is a medium-severity vulnerability in Moodle Project, classified under SQL Injection. CVSS score: 5.9/10. Published 2026-10-30.
- How severe is CVE-2026-119554?
- Medium severity. CVSS v3 base score is 5.9 out of 10.