# 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

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-10-30T11:31:04.811Z
- Modified: 2026-11-17T13:30:25.919Z
- Also known as: BIT-MOODLE-2026-119554
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- moodle: 5.3.0; from 5.2.0 up to 5.2.4; from 5.1.0 up to 5.1.8; from 5.0.0 up to 5.0.11; up to 4.5.15
- moodle (Bitnami): before 5.3.1

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L918-L926> (technical-description, web)
- <https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L971-L979> (technical-description, web)
- <https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L527-L528> (technical-description, web)
- <https://abraxaslabs.tech/research/moodle-enrol-database-sqli> (third-party-advisory, web)
- <https://github.com/moodle/moodle> (product, web)
- <https://www.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> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119554> (web)

## Sources

- CVE List: [CVE-2026-119554](https://www.cve.org/CVERecord?id=CVE-2026-119554), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-119554](https://nvd.nist.gov/vuln/detail/CVE-2026-119554), Public domain, modified 2026-11-04
- Bitnami Vulnerability Database: [BIT-MOODLE-2026-119554](https://osv.dev/vulnerability/BIT-MOODLE-2026-119554), Apache-2.0, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-119554 · Whole record: https://cve.day/CVE-2026-119554.json · Rebuilt by cve.day 2026-11-25T22:59:47.917Z
