MEDIUM4.3
GHSA-qhc7-xhc2-7p7w
Moodle self enrollment available before completing second factor with MFA enabled
Quick fix
GHSA-qhc7-xhc2-7p7w — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^4.3.12Details
A security vulnerability was discovered in Moodle that allows students to enroll themselves in courses without completing all the necessary safety checks. Specifically, users can sign up for courses prematurely, even if they haven't finished two-step verification processes.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
4.3.0-betaFixed in: 4.3.12Fix
composer require moodle/moodle:^4.3.12Packagist/moodle/moodle
Introduced in:
4.4.0-betaFixed in: 4.4.8Fix
composer require moodle/moodle:^4.4.8Packagist/moodle/moodle
Introduced in:
4.5.0-betaFixed in: 4.5.4Fix
composer require moodle/moodle:^4.5.4References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3634[ADVISORY]
- https://github.com/moodle/moodle/commit/b0965139014b459c3cb96e4fff45af4d5e09e261[WEB]
- https://access.redhat.com/security/cve/CVE-2025-3634[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2359707[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=467596[WEB]