Patch Ticker
EnglishEN
Elevated

Moodle external database enrolment SQL injection exposes linked data

CVE-2026-133062 and 16 more

Moodle learning sites with an outside database connected can have its records stolen.

CVE
CVE-2026-133062 and 16 more
Score
CVSS 7.5 · CVE-2026-133062
First seen
7.5
Products
Disclosed together Moodle

Mitigation

Update Moodle to the fixed version for your release line. Find your product's fixed version in the list below.

Fixed version by product

Moodle 4.5.x
4.5.16 or later
Moodle 5.0.x
5.1.0 or later
Moodle 5.1.x
5.1.9 or later
Moodle 5.2.x
5.2.5 or later
Moodle 5.3.x
5.3.1 or later

Summary

An SQL injection flaw in Moodle's external database enrolment plugin lets a logged-in user with course editing permissions view, change, or delete records in the connected external database. The same update also fixes information disclosure and tampering flaws in grade feedback, user profiles, quizzes and forums.

Affected when

  • CVE-2026-133062 external database enrolment plugin enabled (not default)
  • CVE-2026-133062 course editing permission account
  • CVE-2026-133059 non-editing teacher account
  • CVE-2026-133061, CVE-2026-133073 student account
  • CVE-2026-133060 account allowed to import questions
  • CVE-2026-133064 account allowed to upload content

1 other Incident of this product in the last 30 days

Incidents by product: Moodle

Other recent Incidents of Moodle

All Incidents of 2026-11-20

17 CVEs (every link below opens in a new tab)

Read the CVE record · cve.org (opens in a new tab)

Each of the 17 CVEs (every link below opens in a new tab)

  • CVE-2026-133062Can view, change, or delete records in the connected external database. CVSS 7.5
  • CVE-2026-133060Can read arbitrary files the web server can access. CVSS 6.5
  • CVE-2026-133066Can view, use, or delete feedback templates from other courses. CVSS 5.4
Show 14 more
  • CVE-2026-133067Can view and change badge alignments the user does not own. CVSS 5.4
  • CVE-2026-133069Can view forum discussions in courses without access and lock discussions. CVSS 5.4
  • CVE-2026-133071Can view and move lesson pages from courses without access. CVSS 5.4
  • CVE-2026-133072Can view and change sections of quizzes without permission. CVSS 5.4
  • CVE-2026-133064Can run malicious scripts in another user's browser when they view a report. CVSS 4.6
  • CVE-2026-133059Can view grade feedback and user profiles in groups or courses without access. CVSS 4.3
  • CVE-2026-133061Can see the names of hidden grade items in a course. CVSS 4.3
  • CVE-2026-133063Can change activity settings in courses without access. CVSS 4.3
  • CVE-2026-133065Can view questions from question banks without access and create unintended objects. CVSS 4.3
  • CVE-2026-133068An authenticated user can view approved glossary items from courses they lack access to, exposing restricted learning materials. CVSS 4.3
  • CVE-2026-133070An authenticated user can access wiki page versions from courses they may not view, inspect restricted course material, and copy it into their own wiki pages. CVSS 4.3
  • CVE-2026-133073An authenticated student can view the names of all grade items in a course, including items configured to be hidden. CVSS 4.3
  • CVE-2026-133074An authenticated user with teacher privileges can change user and group overrides for quizzes they do not manage, improperly altering exam access, deadlines, or testing conditions in other courses. CVSS 4.3
  • CVE-2026-133075An authenticated user with teacher privileges can change random question filter settings in quizzes they do not manage, altering assessment configurations in courses they do not oversee. CVSS 4.3