Send us a message and we'll get back to you shortly.
In 2026, Moodle disclosed a remote code execution flaw, a SQL injection bug, and a mobile-app token leak. Here is which version is exposed, how to check yours, and what to do when upgrading is not an option yet.
On 22 July 2026, Moodle published a security advisory (CVE-2026-18025) warning that its mobile app could read the login tokens a user had saved for other Moodle sites. It was the third serious Moodle vulnerability disclosed in 2026, after a remote code execution flaw and a SQL injection bug earlier in the year. If you self-host Moodle, that run of advisories is your prompt to check exactly which version you are on and what still affects it.
Moodle discloses vulnerabilities through its security announcements forum and assigns each one a CVE. Three from 2026 matter most for self-hosted sites, and two of them share a single fix. Here is the short version before the detail.
CVE | What it is | Affected versions | Fixed in |
|---|---|---|---|
| CVE-2026-7275 | Remote code execution via the Google Drive repository plugin | 5.1 to 5.1.3, 5.0 to 5.0.6, 4.5 to 4.5.10, and earlier unsupported | 5.1.4, 5.0.7, 4.5.11 |
| CVE-2026-7274 | SQL injection via the external database authentication plugin (auth_db) | 5.1 to 5.1.3, 5.0 to 5.0.6, 4.5 to 4.5.10, and earlier unsupported | 5.1.4, 5.0.7, 4.5.11 |
| CVE-2026-18025 | Moodle mobile app could read web-service tokens saved for other sites | Moodle app 5.2.0 and earlier | Moodle app 5.2.1 |
The two May 2026 advisories, CVE-2026-7275 and CVE-2026-7274, were reported through Moodle's tracker (MDL-88423 and MDL-88138) and are fixed in the same three releases. The July advisory affects the Moodle mobile app, not the server, and is fixed in app version 5.2.1.
CVE-2026-7275 is a remote code execution flaw in Moodle's Google Drive repository plugin. Remote code execution is the most serious class of web vulnerability, because it can let an attacker run their own code on the server that hosts your site. If you cannot patch immediately, Moodle's advised workaround is to disable the Google Drive repository plugin.
CVE-2026-7274 is a SQL injection flaw in the external database authentication plugin (auth_db), which some sites use to authenticate users against an outside database. SQL injection can let an attacker manipulate the queries your site runs, putting the confidentiality and integrity of your database at risk. It is fixed in the same 5.1.4, 5.0.7 and 4.5.11 releases.
CVE-2026-18025 is different, because it lives in the Moodle mobile app rather than on your server. A site logged into the app could read the secure-storage tokens for other Moodle sites the same user had configured, which could expose those sites' web-service tokens. Updating the app to version 5.2.1 closes it, so tell your mobile users to update.
Answer five quick questions to gauge your exposure. Nothing is sent anywhere; the result is calculated in your browser.
Question 1 of 5
1.Which version is your Moodle on?
"Patch promptly" is the right advice and the hardest to follow. Moodle ships a new major version about every six months, and pushes security releases for supported branches whenever vulnerabilities are found. Keeping pace sounds simple until you try it on a production site that people depend on every day.
None of this is unique to security. It is the same operational drag that shapes the choice between managed and self-hosted Moodle hosting, and it runs through the broader trade-offs of running Moodle. The difference is that a security advisory puts a clock on it.
You cannot decide what to do until you know your exact version and which entry points are live. This takes about five minutes inside your own admin area.
Patching closes the specific holes. These controls shrink the damage of the next one, and most take an afternoon. Work through them regardless of which version you are on.
Plenty of sites are stuck on an older release for a reason that is not going away this week. That is the same lesson as the 2026 Canvas data breach: your learners' data is only as safe as your least-patched system. The move is to reduce exposure now, not to wait for the perfect upgrade window.
Start by turning off the entry point: for CVE-2026-7275, disable the Google Drive repository plugin. Then get the specific security patches back-ported to your current release, so you close the hole without a full version jump. Cubite's Moodle security audit does exactly this, back-porting critical fixes to older branches such as 3.9, 4.1, 4.3 and 4.4 for teams that cannot upgrade normally yet, and its free tool shows which advisories still affect your exact version.
Be honest about this. If you run a supported version and apply security releases within days, you are already doing the most important thing, and an audit will mostly confirm it. A well-maintained self-hosted Moodle is a secure Moodle, and you do not need anyone for that.
An audit earns its place in the harder cases: you are several versions behind, an upgrade is blocked by PHP or plugin compatibility, or nobody on the team has time to track advisories. In those situations, knowing precisely which of the 2026 CVEs still reach your install, and getting the fixes without a risky full upgrade, is the difference between a clock that is ticking and a hole that is closed.
Stuck on an older Moodle version you cannot easily upgrade?
Run Cubite's free Moodle security audit to see exactly which advisories still affect your version, then book a 30-minute call to scope back-porting the critical patches to your release.
Looking to learn more about Learning Management System, cubite lms, moodle, LMS Security and LMS Migration, Moodle, Cubite LMS, LMS Security? These related articles explore complementary topics, techniques, and strategies.
In the first half of 2026, one incident at Instructure generated roughly 58% of every US data-breach notice. Here is a sourced timeline of the Canvas breach, the multi-tenant root cause behind it, and what it changes about how you choose and host an LMS.
A head-to-head comparison of Moodle's forum module against Cubite, covering where Moodle forums break down for course discussion, what Cubite does differently, and what migrating away actually involves.
Move your entire LearnDash site to Cubite - courses, learners, progress, quiz scores and certificates - all verified, with nothing lost. Free and done for you.