# CVE-2020-25699: Privilage Escalation in moodle

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-01)
- Published: 2020-11-19T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.525Z
- Also known as: GHSA-h77r-rp97-7rv4, BIT-MOODLE-2020-25699
- Weaknesses: CWE-269, CWE-863
- Assigned by: 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.

(As written by CVE List.)

## Affected

- moodle: Fixed in 3.9.3; Fixed in 3.8.6; Fixed in 3.7.9; Fixed in 3.5.15; Fixed in 3.10
- moodle/moodle (Packagist): from 3.9.0 before 3.9.3; from 3.8.0 before 3.8.6; from 3.7.0 before 3.7.9; from 3.5 before 3.5.15
- moodle moodle: from 3.5.0 up to 3.5.14; from 3.7.0 up to 3.7.8; from 3.8.0 up to 3.8.5; from 3.9.0 up to 3.9.2
- fedoraproject fedora: 32; 33
- moodle (Bitnami): from 3.5.0 before 3.5.15; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.6; from 3.9.0 before 3.9.3

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1895425> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=413936> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25699> (advisory, web)
- <https://github.com/moodle/moodle/commit/b8e1eec4c77c858de87fedf4e405e929539ea0c5> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6> (web)

## Sources

- CVE List: [CVE-2020-25699](https://www.cve.org/CVERecord?id=CVE-2020-25699), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-h77r-rp97-7rv4](https://github.com/advisories/GHSA-h77r-rp97-7rv4), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-25699](https://nvd.nist.gov/vuln/detail/CVE-2020-25699), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2020-25699](https://osv.dev/vulnerability/BIT-MOODLE-2020-25699), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-25699 · Whole record: https://cve.day/CVE-2020-25699.json · Rebuilt by cve.day 2026-11-25T22:57:55.880Z
