CVE-2025-3642: Moodle Package Remote Code Execution Risk in EQUELLA Repository

moodle/moodle Updated 02 Oct 2025

Summary

25/04/2025
Yes i
High
8.8

CVE-2025-3642: Moodle has an authenticated remote code execution risk in the Moodle LMS EQUELLA repository. Affects moodle/moodle across 4 version ranges.

< 4.1.18 >= 4.3.0-beta, < 4.3.12 >= 4.4.0-beta, < 4.4.8 >= 4.5.0-beta, < 4.5.4

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Moodle is a widely used open-source learning management system (LMS) that enables educators to create and manage online courses. It offers a variety of features including course management, user enrollment, and content delivery. The EQUELLA repository is an integration within Moodle that allows users to access and manage digital resources. However, a recent vulnerability has been identified that poses a significant risk to sites using this repository.

Vulnerability Detail

A flaw was discovered in the Moodle LMS that allows for authenticated remote code execution through the EQUELLA repository. This vulnerability is particularly concerning as it is accessible by default to teachers and managers on sites where the EQUELLA repository is enabled. The potential ramifications include unauthorized access to sensitive data, manipulation of course content, and the execution of arbitrary code on the server, which could lead to further exploitation.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.1.18 4.1.18
    composer require moodle/moodle:4.1.18
  • >= 4.3.0-beta, < 4.3.12 4.3.12
    composer require moodle/moodle:4.3.12
  • >= 4.4.0-beta, < 4.4.8 4.4.8
    composer require moodle/moodle:4.4.8
  • >= 4.5.0-beta, < 4.5.4 4.5.4
    composer require moodle/moodle:4.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, it is advisable to disable the EQUELLA repository until the package can be updated to a secure version. This can be done through the Moodle admin interface by navigating to Site administration > Plugins > Repositories > Manage repositories and disabling the EQUELLA repository.

Conclusion

The identified vulnerability in Moodle's EQUELLA repository poses a serious risk to users and their data. It is crucial to update to the patched versions of the Moodle package to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for open-source vulnerabilities in real-time.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

CVE-2025-3642 is a vulnerability in the Moodle LMS that allows for remote code execution through the EQUELLA repository.

Sites using the Moodle LMS with the EQUELLA repository enabled are at risk, particularly those with teacher and manager roles.

The vulnerability could lead to unauthorized access to sensitive data, manipulation of course content, and execution of arbitrary code on the server.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.1.18 4.1.18
    composer require moodle/moodle:4.1.18
  • >= 4.3.0-beta, < 4.3.12 4.3.12
    composer require moodle/moodle:4.3.12
  • >= 4.4.0-beta, < 4.4.8 4.4.8
    composer require moodle/moodle:4.4.8
  • >= 4.5.0-beta, < 4.5.4 4.5.4
    composer require moodle/moodle:4.5.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback