CVE-2025-3640: Moodle has an IDOR in web service which allows users enrolled in a course to access some details of other users
A flaw was found in Moodle. Insufficient capability checks made it possible for a user enrolled in a course to access some details, such as the full name and profile image URL, of other users they did not have permission to access.
References
- access.redhat.com/security/cve/CVE-2025-3640
- bugzilla.redhat.com/show_bug.cgi?id=2359734
- github.com/advisories/GHSA-6g5x-h5x7-q4mq
- github.com/moodle/moodle
- github.com/moodle/moodle/commit/64a4311266cbe9a9a942c836931bef224018b77d
- moodle.org/mod/forum/discuss.php?d=467601
- nvd.nist.gov/vuln/detail/CVE-2025-3640
Code Behaviors & Features
Detect and mitigate CVE-2025-3640 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →