CVE-2026-133062

published 19 Nov 2026 · updated 23 Nov 2026

Moodle: sql injection in external database enrolment plugin

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.5.16, 5.1.0, 5.1.9 and 2 more.

A flaw was found in Moodle's external database enrolment plugin. Insufficient sanitization of data passed to queries against the external database allows an authenticated user with course editing permissions to perform a Structured Query Language (SQL) injection attack. When this non-default plugin is enabled, an attacker can exploit this issue to view, modify, or delete sensitive records within the connected external database.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.5.16, >=5.0.0 <5.1.0, >=5.1.0 <5.1.9, >=5.2.0 <5.2.5, >=5.3.0 <5.3.14.5.16, 5.1.0, 5.1.9, 5.2.5, 5.3.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-133062 severity on Zeptric[![CVE-2026-133062](https://zeptric.io/badge/cve/CVE-2026-133062.svg)](https://zeptric.io/cve/CVE-2026-133062)