{"id":"CVE-2026-133062","aliases":["CVE-2026-133062"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: sql injection in external database enrolment plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-19T15:30:58.641Z","modified":"2026-11-23T16:24:48.897Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.5.16","status":"affected"},{"type":"semver","introduced":"5.0.0","fixed":"5.1.0","status":"affected"},{"type":"semver","introduced":"5.1.0","fixed":"5.1.9","status":"affected"},{"type":"semver","introduced":"5.2.0","fixed":"5.2.5","status":"affected"},{"type":"semver","introduced":"5.3.0","fixed":"5.3.1","status":"affected"}],"package":"moodle","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-133062","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2576520","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-19T20:21:18.886Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133062","url":"https://www.cve.org/CVERecord?id=CVE-2026-133062","licence":"CVE Terms of Use","modified":"2026-11-19T20:21:33.255Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133062","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133062","licence":"Public domain","modified":"2026-11-23T16:24:48.897Z"}],"updatedAt":"2026-11-25T22:59:52.123Z","epss":{"score":0.00481,"percentile":0.43144,"date":"2026-12-01T12:00:22.000Z"}}