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
Vulnerability summary
CVE-2026-119554 is a medium (CVSS 6.0) vulnerability in moodle project moodle. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.3% of scored vulnerabilities.
Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 30-10-2026PublishedVulnerability first disclosed.
- 04-11-2026Last modifiedVulnerability information updated.
Description
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 metrics
7 scores · 4 sources · 2 versions- NVDNIST6.0MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- moodleAll versions (No fix recorded) | < 5.3.1-r0
Moodle project1 product
- moodle5.3.0 | ≥ 5.2.0, ≤ 5.2.4 | ≥ 5.1.0, ≤ 5.1.8 | ≥ 5.0.0, ≤ 5.0.11 | ≤ 4.5.15
Ubuntu1 product
- moodleAll versions (No fix recorded)
3 vendors · 3 products
References
11 links- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.phpTechnical DescriptionREPORTARTICLE
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.phpTechnical DescriptionREPORTARTICLE
- github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.phpTechnical DescriptionREPORTARTICLE