CVE-2026-133062
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-89 · SQL injection
- Record status
- Received
Affected
- < 4.5.16
- < 5.1.0
- < 5.1.9
- < 5.2.5
- < 5.3.1
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-133062.md and follow it. Check whether this project is affected by CVE-2026-133062. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f
- https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc
- https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1
References
- 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