CVE-2020-25699
publishedmoodle: Privilege escalation within a course when restoring role overrides
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
In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 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-863
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1895425
- 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=413936
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7903e0822b74c0dcac524d507f20cf737ccd04b91ea78bc7d3dde4d4fd2aec77
- Ingested
- 23 Sep 2026, 07:49:45 UTC
- Source record
- Official CVE record