Affected versions
UbuntuPro:16.04:LTS/moodle
- Affected versions
- * || =2.7.9+dfsg-1 || =2.7.10+dfsg-1 || =2.7.11+dfsg-1 || =2.7.11+dfsg-2 || =2.7.12+dfsg-1 || =3.0.3+dfsg-0ubuntu1 || =3.0.3+dfsg-0ubuntu1+esm1
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/moodle
- Affected versions
- * || =3.0.3+dfsg-0ubuntu1 || =3.0.3+dfsg-0ubuntu1+esm1
- Fixed version
- Not reported
Description
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.
Links
- https://access.redhat.com/security/cve/CVE-2026-133062
- https://bugzilla.redhat.com/show_bug.cgi?id=2576520
- https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f
- https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc
- https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1
- https://ubuntu.com/security/CVE-2026-133062
- https://www.cve.org/CVERecord?id=CVE-2026-133062

