CVE-2025-3641 — Vulnerability in moodle/moodle — CVE Details
Moodle has an authenticated remote code execution risk in the Moodle LMS Dropbox repository
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.78%). Schedule for your next planned update.
Does your project use an affected moodle/moodle version?
Paste your composer.lock to check it for CVE-2025-3641 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A flaw was found in Moodle. A remote code execution risk was identified in the Moodle LMS Dropbox repository. By default, this was only available to teachers and managers on sites with the Dropbox repository enabled.
Advisory Timeline
- First published April 25, 2025 (580 days ago).
- Last revised January 26, 2026 — 276 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "moodle/moodle:^4.1.18"
composer require "moodle/moodle:^4.3.12"
composer require "moodle/moodle:^4.4.8"
composer require "moodle/moodle:^4.5.4"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| moodle/moodle Packagist · Affected: v2.3.10, v2.3.11, v2.3.4, v2.3.5 (+346 more) | 4.1.18 |
| moodle/moodle Packagist · Affected: v4.3.0, v4.3.0-beta, v4.3.0-rc1, v4.3.0-rc2 (+11 more) | 4.3.12 |
| moodle/moodle Packagist · Affected: v4.4.0, v4.4.0-beta, v4.4.0-rc1, v4.4.0-rc2 (+7 more) | 4.4.8 |
| moodle/moodle Packagist · Affected: v4.5.0, v4.5.0-beta, v4.5.0-rc1, v4.5.0-rc2 (+3 more) | 4.5.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3641ADVISORY
- https://github.com/moodle/moodle/commit/27b839b5c60389623ca8e3496792b43a44527cd6WEB
- https://access.redhat.com/security/cve/CVE-2025-3641WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2359735WEB
- https://github.com/moodle/moodlePACKAGE
- https://moodle.org/mod/forum/discuss.php?d=467602WEB
Frequently Asked Questions
- What is CVE-2025-3641?
- Moodle has an authenticated remote code execution risk in the Moodle LMS Dropbox repository. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-3641?
- CVE-2025-3641 affects moodle/moodle. It has a 1.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-3641 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 78.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2022-30599CRITICAL
SQL injection in moodle
- CVE-2021-3943CRITICAL
Moodle vulnerable to RCE via unsafe deserialization
- CVE-2021-36393CRITICAL
Moodle SQL Injection vulnerability
- CVE-2019-3809CRITICAL
Moodle Blind SSRF Risk in /badges/mybackpack.php
- CVE-2024-34008HIGH
Moodle CSRF risk in analytics management of models
- CVE-2010-1615HIGH
Moodle vulnerable to SQL injection
- CVE-2025-67848HIGH
Moodle authentication bypass vulnerability
- CVE-2025-3642HIGH
Moodle has an authenticated remote code execution risk in the Moodle LMS EQUELLA repository