Moodle security releases and announcements

Moodle ships security fixes inside its regular minor releases, notifies registered admins first and discloses publicly a week later. A self-hosted site needs a patch routine that matches that cycle and its supported version.

On this page

How Moodle security releases reach a self-hosted site

Security fixes for Moodle ship in the regular minor point releases, which arrive every two months in February, April, June, August, October and December. Moodle HQ notifies registered site administrators before the fix is publicly disclosed, and public disclosure follows about a week later. If you run Moodle in your own infrastructure, that notice is the start of your clock: the vendor does not patch your server, so the work of reading the advisory, testing the update and deploying it to production sits with your team or your implementation partner. Any public or student-facing site needs this routine, because the window between a fix reaching admins and the details becoming public is where unpatched sites are most exposed.

Make sure the address that receives Moodle's security notices is a monitored mailbox, not one person's inbox, and that it is registered with Moodle so the notice actually reaches you. Then decide, in advance, who reviews each advisory, how quickly a security patch is tested on a staging copy of the site and who approves the production window. Confirm with Moodle's release documentation how each advisory is labelled and which branches (current minor releases and the supported long-term support lines) it applies to, since your site may be on a branch that receives security fixes for a different period than the newest release. The Moodle releases page lists the support dates for each branch and is the right place to check them against your version.

This page describes a process, not a guarantee. Moodle's release schedule and notice practice set the rhythm you plan around, but they do not promise that a fix will suit your plugins, theme or customizations, and they do not patch your environment. Third-party plugins are a common source of delay, because a core fix can require a plugin update from a separate maintainer. Before the next cycle, check your installed plugin versions, confirm your backup and rollback steps work on a copy of the database and moodledata, and agree a target for applying security releases so that the routine is practiced before an urgent advisory arrives.

Reading the Moodle release calendar

This sequence turns Moodle's published release dates into a support map for your site, so you know which version you run, when it stops receiving security fixes, and how often you must patch.

  1. Identify the Moodle version you run today

    Start by recording the exact Moodle version and point release on every production, staging and test site. The version appears in the site administration pages and in the version.php file at the root of the Moodle code. Confirm the value against your deployment records, not from memory, because a site can be several point releases behind its last upgrade. The output is a short inventory table with one row per site, listing the version, the database engine and the date of the last upgrade you performed.

  2. Map the version to its support dates

    Find the release in the Moodle releases page on moodledev.io and read two dates for it: the end of general support and the end of security support. Moodle 4.5 is a long-term support release from 7 October 2024 with security support until 4 October 2027. Moodle 5.1, released 6 October 2025, has general support until 5 October 2026 and security support until 19 April 2027. Moodle 5.2, released 20 April 2026, has security support until 4 October 2027. Moodle 5.3, released 5 October 2026, is the next LTS with security support until 1 October 2029. Record both dates for your version.

  3. Understand what a security-only window covers

    General support includes bug fixes and non-security improvements, so a release in general support receives the full stream of changes. Security support is narrower: after general support ends, the release still receives fixes for security issues but no other changes. A site in a security-only window can still be patched, yet it stops gaining features and some non-security defects stay unfixed. Confirm with your own team whether the security-only dates align with your planned upgrade dates, and write down the gap between the two for each site.

  4. Place the minor releases on the calendar

    Moodle ships major releases in April and October and point releases every two months, in February, April, June, August, October and December. Security fixes arrive in these point releases, so your patch routine should be built around that rhythm rather than around ad hoc checks. Add the six point-release months to your operations calendar for the coming year and mark your change windows against them. The output is a calendar that shows when a patch is expected, not only when one has appeared.

  5. Set the upgrade target for each site

    Compare your current version with the next supported target. Moodle 5.1 requires 64-bit PHP 8.2 or later, and sites must be on Moodle 4.2.3 or later to upgrade to it. Moodle 5.3 requires 64-bit PHP 8.3 or later and PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later, and sites must run Moodle 4.4 or later to upgrade. If a site is older than the stated starting version, plan intermediate upgrades before the target. Document the target version and the server prerequisites in the same record as the inventory.

  6. Subscribe to notices and confirm the registration path

    Security notices reach registered Moodle administrators before public disclosure. Confirm that the administrator addresses for each site are registered with Moodle, that a named team reads those messages, and that mail to those addresses is not filtered out by your email gateway. Ask your team to test the path by confirming that a recent notice reached each inbox. The output is a named owner per site and a tested route from Moodle's notice to a ticket in your queue.

  7. Plan the patch cycle around public disclosure

    Public disclosure of a security issue follows the notice by about a week, so the window between a notice and public detail is the period in which you should already have a patch staged. Build a routine that tests the point release on staging, applies it to production in your normal change window and records the result. Confirm the exact disclosure interval with Moodle's security announcements before you write it into your runbook, since it is not a number you should rely on without checking. The closing check is a dated record showing that each site ran its latest point release within your own agreed timeframe.

Choosing an LTS or a current release for security support

An LTS release is the Moodle line you choose when you want security fixes for longer, while a standard release gives you newer features sooner but a shorter security window. The security support end date is the figure to plan around. Moodle 4.5 is a long-term support release from 7 October 2024 with security support until 4 October 2027. Moodle 5.3, released on 5 October 2026, is the next LTS, with general support until 4 October 2027 and security support until 1 October 2029. Moodle 5.1 (released 6 October 2025) has security support until 19 April 2027, and Moodle 5.2 (released 20 April 2026) has security support until 4 October 2027. Confirm these dates on the Moodle releases page before you set a plan, because they are the basis for every upgrade decision that follows.

The trade-off is between longer security coverage and earlier access to features and newer server requirements. Staying on an LTS line means fewer forced upgrades and a longer window in which your team can schedule changes, but you wait longer for new capabilities. A standard release brings features sooner, such as the learning outcomes feature and the AI provider plugin added in 5.3, yet it also raises the bar on PHP and database versions earlier. Check the release notes for the PHP and database versions required by the target release, since Moodle 5.3 requires PHP 8.3 or later and PostgreSQL 17, which may need changes to your server stack before any upgrade can begin.

Make the choice in writing before you schedule work. Record the security end date of your current line, the date of the next LTS, and the server changes the target release needs. Then ask whether your organization can complete an upgrade within the remaining security window, including testing time for custom themes and plugins. If the window looks tight, start the server preparation early. Re-check the dates on the releases page when planning, since security windows are the figures most likely to be referenced by auditors and by your own change records.

How a Moodle security fix moves from disclosure to your server

The path starts with a fix developed for a minor point release. Registered site administrators receive notice first, and public disclosure follows about a week later, so the window for quiet preparation is short. Your team then decides whether the fix applies to your version and plugins, tests the update in staging, and only then applies it in production, handing the result to your regular patch routine. Check which release lines your site is on, since security support ends on dates that differ by version.

Decision points a site owner passes between a Moodle security notice and production.

A patch routine that fits the two-monthly cycle

A public-facing site has the widest exposure, so it gets the shortest path from a security release to production, with the staging test kept honest. Start each cycle by reading the security notice for the next minor release and deciding the target date before the public disclosure arrives. Apply the update to a staging copy built from a recent production backup, then exercise self-registration, password reset, guest access and any public course pages, since these are the paths anonymous visitors reach.

  • Staging copy: Restore a current database and moodledata copy into a non-public environment so the test reflects real configuration and plugin versions.
  • Backup first: Take a full database dump and a copy of moodledata immediately before the window, and confirm the restore works on staging.
  • Short window: Schedule the change for low-traffic hours and announce it to course users, since the site may need to be in maintenance mode during upgrade steps.
  • Plugin check: Confirm each installed plugin lists support for the target release before upgrading, and hold back any plugin that does not.
  • Post-patch run: Re-run the security overview report on production and clear new warnings, particularly those about paths and web-accessible directories.

Confirm the target version against the supplied release notes for your current and target versions, and keep a documented rollback path before the window opens.

Security considerations for keeping up with Moodle releases

Moodle security fixes arrive on a fixed cadence, but the notice, the public disclosure and your own patch window do not line up automatically. The cards below cover the points where a self-hosted site most often falls behind, from who receives notices to what to verify after each update.

Subscribe registered admins to notices

Security notices go to administrators who are registered with Moodle HQ, so the contact on the registration must be a monitored mailbox or distribution list, not one person's address that may have left. Check who is registered for each site, confirm that mail from Moodle is not filtered, and name a second recipient for weekends and leave periods. Review this list whenever staff change.

Plan for the notice-to-disclosure gap

Moodle notifies registered administrators before a security issue is publicly disclosed, and public disclosure follows a week later. That window is the time you have to patch before details are widely read. Set a rule that a security notice starts a patch decision the same day, and record who approved any delay. Do not assume the gap is safe because no exploit has been reported.

Check plugins against core versions

Core patches do not update your third-party plugins, and a plugin may not yet support the Moodle version you are moving to. Before scheduling an update, list every installed plugin with its version and confirm a release exists for the target Moodle version. Where a plugin has no release for the target, decide whether to replace it, fork it or hold the upgrade, and document that decision.

Watch PHP and database version jumps

A security release can require a newer PHP or database version than the server runs, so patching stops at the platform check. Compare your current PHP and database versions with the requirements for the Moodle release you need, including the minimum version you must already be running to upgrade. Plan server work as a separate change when the gap is large, and test it on a staging copy first.

Minimum to upgrade to 5.1
4.2.3

Back up before every upgrade

Take a full backup of the database and the moodledata directory, and store a copy of the code tree, before running any core or plugin update. Test that the backup restores on a separate host, because a file that cannot be restored gives no protection. Keep the backup for a period your recovery plan sets, and record the Moodle version it was taken from.

Re-run the security overview report

After each update or plugin install, open the security overview report and compare the results with the last run. New warnings often appear after a change, and some settings reset during upgrades. Keep a dated record of findings, confirm that each new item is either fixed or accepted by a named owner, and treat any change in the report as part of the release, not an optional follow-up.

Which update path fits which site

This table compares three ways to take Moodle security fixes: staying on the current standard release, moving to an LTS line, and using managed hosting where the provider carries patching. Read each row against your own risk tolerance, upgrade capacity and data obligations, and confirm the items in the last column before you commit.

Update pathWhat it coversWhen it fitsWhat to confirm
Current standard releaseMinor point releases every two months, so you apply security fixes on that cadence and move to each new major release as it shipsTeams with a steady upgrade routine, test environments and staff who can apply a release within weeks of noticeYour internal patch window, who approves production changes, and whether plugins you rely on support the release you move to
LTS line (for example Moodle 4.5 or 5.3)Security support for a longer period than a standard release, with fewer major upgrades to planSites with limited upgrade capacity, or regulated sites that want fewer major changes to test and evidenceThe security support end date for your chosen LTS, the upgrade path from your current version, and which plugins are maintained for it
Managed hosting through MoodleCloud or Moodle PartnersHosting operations, and patching responsibility as set out in the provider's own termsOrganizations that want the provider to run the platform and accept its operating modelThe written patch timing, security notice process, data location, backup and recovery terms, and what your contract says about custom plugins
Self-hosted with an outsourced patch routineMonitoring for each release notice, staging tests, production patching and a record of what changed, carried out under a written scopeSites that keep hosting in their own infrastructure but lack in-house capacity to follow the release cycleNamed responsibilities, response expectations in the written scope, and how the routine interacts with your change control

Questions buyers ask about Moodle security updates

How much effort does a Moodle security patch cycle take?

The effort depends on how much the site differs from stock Moodle, not on the patch itself. Each minor release arrives roughly every two months, and the work includes reading the release notes, testing the site on a copy, checking plugin compatibility, applying the update and re-running the security overview report. A site with few plugins and a clean configuration can usually absorb this as a routine task. Heavily customized sites take longer because every custom theme, local plugin and web service needs a compatibility check before the update goes live. Ask any partner to break its estimate into testing, plugin review and deployment so you can see which parts scale with your site.

Can an internal team run Moodle security updates alone?

Yes, if the team has someone who can read the release notes, operate a staging copy, run upgrade scripts and roll back a failed change. The main risks are the gaps around the routine: noticing the security notice, testing plugins that the vendor has not updated, and keeping a patch slot open when other work is urgent. Many teams handle the core release and miss the plugin side. Before you decide, list who receives notice to registered administrators, who owns the staging copy, who signs off on plugin changes and what happens when a release lands during an exam period or enrolment peak.

What does a DeployOpen retainer cover for Moodle?

A retainer covers ongoing work agreed in writing, such as applying minor releases, testing plugin compatibility, re-running the security overview report after changes, and planning moves between support windows. The exact coverage, response expectations and frequency are set in the written scope, so compare proposals on those terms. Ask what is included in each release cycle, whether plugin testing is covered or billed separately, how backups are verified before each change, and what happens when a major version or LTS transition is due. DeployOpen does not publish a price list, and a quote follows from the written scope.

How do plugin updates change the patch routine?

Plugin updates add a second release track that Moodle core does not control. A core security fix can be safe to apply while a third-party plugin still needs a version that matches the new core release. Each plugin on the site needs a check for compatibility with the target version, its maintenance status and any database changes it makes. Plugins you no longer use should be removed, because they still need review. Keep an inventory of installed plugins and their versions, and treat each new plugin install as a change that the next patch cycle must test.

What should we confirm about Moodle support end dates?

Confirm the security support end date for the exact version you run, not the general support date. Moodle publishes these dates on its releases page, and the dates differ between standard releases and LTS releases. For example, the Moodle 5.1 release has general support until 5 October 2026 and security support until 19 April 2027, while Moodle 4.5 is a long-term support release with security support until 4 October 2027. Confirm these dates against the official releases page on the day you plan, because a planned upgrade depends on them. Also check the PHP and database versions required by the target release, since those often drive the upgrade more than the Moodle code itself.

Which Moodle upgrade requirements should we check before patching?

Check the server stack the target release needs before you schedule the update. Moodle 5.1 requires 64-bit PHP 8.2 or later and sites must already be on Moodle 4.2.3 or later to upgrade. Moodle 5.3 requires 64-bit PHP 8.3 or later and sites must run Moodle 4.4 or later. Also confirm the document root change: from Moodle 5.1, the web server must point to the /public directory, or the site may show directory listings or errors. A patch that stays within a version line rarely needs these changes, but a jump between lines often does.

What does a security patch cost, and what drives it?

Cost has two parts: the labor to test and apply each release, and the infrastructure to keep a staging copy and backups. Both recur, because Moodle ships minor releases every two months. The labor rises with the number of plugins, custom code, integrations such as SSO or HR feeds, and the size of the database and file store, which lengthen test and restore times. Ask any provider to separate one-time setup, such as building the staging process and plugin inventory, from recurring work, and to state how emergency patches are charged. Compare quotes on the written scope, not on hourly rates alone.

What to confirm in your own environment

A Moodle security release only helps if your site can take it on the day it lands. The cards below cover the version, server and plugin checks, plus the people and calendar constraints that decide how quickly you can apply it.

PHP and database versions

Each Moodle release sets its own floor for PHP and the database engine. Moodle 5.1 requires 64-bit PHP 8.2 or later, and Moodle 5.3 requires 64-bit PHP 8.3 or later, with PostgreSQL 17 among its supported database versions. Check your current PHP and database versions against the target release before you plan a security update, because a server that is too old turns a patch into a platform upgrade.

Moodle 5.3 notes

Document root change to /public

From Moodle 5.1, the web server document root must point to the new /public directory rather than the main Moodle folder. If your web server still serves the main folder after an update, you risk directory listings or errors. Confirm the vhost configuration in staging, and check that your reverse proxies and load balancers route to the same location.

Registered admin contacts

Moodle sends security notices to registered site administrators, so the advance warning only reaches people whose address is current. Confirm that the mailbox on the registered admin account is monitored, that it is not tied to someone who has left, and that a distribution list is in place. Without this, the first notice may arrive after the public disclosure.

Plugin support for the target version

Each third-party plugin declares which Moodle versions it supports, and a plugin that lags behind the core release can block the upgrade. List every installed plugin, note its supported versions in the plugins directory, and identify any that have no release for the target version. Decide in advance whether you will replace, fork or remove each one.

Official release notes

The release notes for each version list the upgrade path, removed features and changed requirements, and they are the reference your change ticket should cite. Read the notes for the exact target version, not only the headline security summary, since removals such as the Classic theme leaving core in 5.3 affect what your site must change before or after patching.

Moodle releases page

Organizational change freeze

Your change calendar, audit windows and exam or enrolment periods decide when a patch can run. Ask for the freeze dates in writing, agree who can approve an out-of-cycle security change, and record how long a freeze can delay a critical fix. Teams that learn these constraints during an incident usually end up patching later than the public disclosure date.

How DeployOpen works on this

DeployOpen plans Moodle patching around the platform's own release calendar, so security fixes are scoped, tested and applied in infrastructure you control. The work covers a written routine for minor releases and the LTS security windows, with documented steps your team can repeat.

How we scope

  • Confirm which Moodle branch you run and its security support end date before any work starts.
  • Agree in writing which environments, plugins and themes the patch routine covers.
  • Document who receives admin notices, who approves a patch and who owns rollback decisions.

How we build

  • Set up a staging copy of your site, with the same plugins, database and data layout as production.
  • Test each minor release on staging, including custom plugins, themes and integrations.
  • Run the security overview report before and after each patch and record any new findings.

How we hand over

  • Deliver a written patch runbook matched to the two-monthly minor release cycle and your change windows.
  • Provide a checklist covering backups, maintenance mode, upgrade steps and post-patch verification.
  • Train your administrators on the runbook and record each patch in a shared change log.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing patch support, upgrades and continuous testing are available as a retainer.
  • Ask any partner for the written scope, the named support contacts and the response terms before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.