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
Affects moodleSource GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 5.3.1 when convenient.
Data as of 17 Nov 2026, 16:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
- Patch
- Available – fixed in 5.3.1
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade moodle to 5.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamimoodlepkg:bitnami/moodleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Moodle version 5.3.1 that fixes this SQL injection vulnerability. Users should upgrade to version 5.3.1 or later to remediate the issue. No alternative mitigations are indicated by the vendor advisory.
Description
Moodle versions up to 5.3.0, including 5.2.4, 5.1.8, 5.0.11, and 4.5.15, contain an SQL injection vulnerability in the External database enrolment plugin via the course idnumber field. This flaw allows editing teachers to inject a payload that executes during scheduled synchronization with MySQL/MariaDB external databases, potentially reading data and manipulating enrolment results. The vulnerability is fixed in Moodle 5.3.1.
References
- abraxaslabs.tech/research/moodle-enrol-database-sqli (opens in a new tab)
- github.com/moodle/moodle (opens in a new tab)
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (opens in a new tab)
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (opens in a new tab)
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-119554 (opens in a new tab)
- vulncheck.com/advisories/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 (opens in a new tab)