Insufficient state and capability checks resulted in some details of hidden courses (such as course name, description and teachers) being available to users who did not have permission to access them.
| Severity/Risk: | Serious |
| Versions affected: | 5.0, 4.5 to 4.5.4, 4.4 to 4.4.8, 4.1 to 4.1.18 and earlier unsupported versions |
| Versions fixed: | 5.0.1, 4.5.5, 4.4.9 and 4.1.19 |
| Reported by: | Vincent Schneider |
| CVE identifier: | CVE-2025-49515 |
| Changes (main): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-84518 |
| Tracker issue: | MDL-84518 Course visibility not honoured consistently |