Moodle <=5.3.0 SQLi in External DB enrol plugin (idnumber)
CVE-2026-119554 Published on October 30, 2026
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
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 Analysis
CVE-2026-119554 is exploitable with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is a SQL Injection Vulnerability?
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
CVE-2026-119554 has been classified to as a SQL Injection vulnerability or weakness.
Products Associated with CVE-2026-119554
Want to know whenever a new CVE is published for Moodle? stack.watch will email you.
Affected Versions
Moodle Project moodle:- Version 5.3.0 is affected.
- Version 5.2.0, <= 5.2.4 is affected.
- Version 5.1.0, <= 5.1.8 is affected.
- Version 5.0.0, <= 5.0.11 is affected.
- Before and including 4.5.15 is affected.