Moodle authentication bypass vulnerability
Impact
A flaw was found in Moodle. This authentication bypass vulnerability allows suspended users to authenticate through the Learning Tools Interoperability (LTI) Provider. The issue arises from the LTI authentication handlers failing to enforce the user's suspension status, enabling unauthorized access to the system. This can lead to information disclosure or other unauthorized actions by users who should be restricted.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.1.22Ecosystem versions | 4.1.22 |
| From 4.4.0-beta before 4.4.12Ecosystem versions | 4.4.12 |
| From 4.5.0-beta before 4.5.8Ecosystem versions | 4.5.8 |
| From 5.0.0-beta before 5.0.4Ecosystem versions | 5.0.4 |
| From 5.1.0-beta before 5.1.1Ecosystem versions | 5.1.1 |
Version evidence: OSV · GHSA-j5jv-w5cw-j9ff
View original version evidence (392 explicit versions)
Original source description
A flaw was found in Moodle. This authentication bypass vulnerability allows suspended users to authenticate through the Learning Tools Interoperability (LTI) Provider. The issue arises from the LTI authentication handlers failing to enforce the user's suspension status, enabling unauthorized access to the system. This can lead to information disclosure or other unauthorized actions by users who should be restricted.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-67848
- Patch github.com/moodle/moodle/commit/62f372e9d861d16df702d3c7726905fa2730e3d8
- Patch github.com/moodle/moodle/commit/c2705e2c18962fec4f21b9c34ed386be2a379663
- Security advisory access.redhat.com/security/cve/CVE-2025-67848
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php