MEDIUM5.3
GHSA-25wf-7x6c-wmpf
Moodle does not properly enforce MFA
Quick fix
GHSA-25wf-7x6c-wmpf — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^5.0.3Details
A serious authentication flaw allowed attackers with valid credentials to bypass multi-factor authentication under certain conditions, potentially compromising user accounts.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
5.0.0-betaFixed in: 5.0.3Fix
composer require moodle/moodle:^5.0.3Packagist/moodle/moodle
Introduced in:
4.5.0-betaFixed in: 4.5.7Fix
composer require moodle/moodle:^4.5.7Packagist/moodle/moodle
Introduced in:
4.4.0-betaFixed in: 4.4.11Fix
composer require moodle/moodle:^4.4.11References
- https://nvd.nist.gov/vuln/detail/CVE-2025-62398[ADVISORY]
- https://github.com/moodle/moodle/commit/67005f8b2098096f4c7ca4f78ab9ce69415d703b[WEB]
- https://github.com/moodle/moodle/commit/a2078f781ae065ca1f781bd159c7615c84afcaa5[WEB]
- https://access.redhat.com/security/cve/CVE-2025-62398[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2404431[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=470387[WEB]