# CVE-2020-25629: Moodle incorrect access control

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.32%, higher than 71% of CVEs (2026-12-02)
- Published: 2020-12-08T00:16:05.000Z
- Modified: 2026-09-08T08:48:14.623Z
- Also known as: GHSA-f5r8-7h4f-jr9x, BIT-MOODLE-2020-25629
- Weaknesses: CWE-284, CWE-862
- Assigned by: redhat

## Description

A vulnerability was found in Moodle where users with "Log in as" capability in a course context (typically, course managers) may gain access to some site administration capabilities by "logging in as" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.

(As written by CVE List.)

## Affected

- Moodle: 3.9 to 3.9.1; 3.8 to 3.8.4; 3.7 to 3.7.7; 3.5 to 3.5.13; earlier unsupported versions
- moodle/moodle (Packagist): from 3.9 before 3.9.2; from 3.8 before 3.8.5; from 3.7 before 3.7.8; from 3.5 before 3.5.14
- moodle moodle: from 3.5.0 before 3.5.14; from 3.7.0 before 3.7.8; from 3.8.0 before 3.8.5; from 3.9.0 before 3.9.2
- moodle (Bitnami): from 3.5.0 before 3.5.14; from 3.7.0 before 3.7.8; from 3.8.0 before 3.8.5; from 3.9.0 before 3.9.2

## Every score

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

## References

- <https://moodle.org/mod/forum/discuss.php?d=410841> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25629> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

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

---

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