CVE-2020-25698
publishedmoodle: Teacher is able to unenrol users without permission using course restore
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | moodleFixed in 3.9.3 · Fixed in 3.8.6 · Fixed in 3.7.9 · Fixed in 3.5.15 · Fixed in 3.10 | Affected | Not stated | redhat |
Description
Users' enrollment capabilities were not being sufficiently checked in Moodle when they are restored into an existing course. This could lead to them unenrolling users without having permission to do so. Versions affected: 3.5 to 3.5.14, 3.7 to 3.7.8, 3.8 to 3.8.5, 3.9 to 3.9.2 and earlier unsupported versions. Fixed in 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | moodle | Fixed in 3.9.3 (affected)Fixed in 3.8.6 (affected)Fixed in 3.7.9 (affected)Fixed in 3.5.15 (affected)Fixed in 3.10 (affected) | redhat · cna |
Weaknesses
1- CWE-284
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1895419
- FEDORA-2020-db73e37548 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/
- FEDORA-2020-304aa2c365 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/
- https://moodle.org/mod/forum/discuss.php?d=413935
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 198e22161d243aaac09134ddf161439318fce312367b49b13819c5d988344b6a
- Ingested
- 23 Sep 2026, 07:49:45 UTC
- Source record
- Official CVE record