Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-119554 EUVD-2026-113819GHSA-53qh-jc6r-4vvr

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

Published Oct 30, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Moodle Project moodle 5.3.0, 5.2.0 – ≤ 5.2.4, 5.1.0 – ≤ 5.1.8, 5.0.0 – ≤ 5.0.11, ≤ 4.5.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Advisories 1

References