# CVE-2020-14321: Moodle Incorrect Authorization vulnerability

- 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): 36.9%, higher than 98% of CVEs (2026-12-01)
- Published: 2022-08-16T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.529Z
- Also known as: GHSA-9q29-jcjw-fw7h, BIT-MOODLE-2020-14321
- Weaknesses: CWE-863
- Assigned by: redhat

## Description

In Moodle before 3.9.1, 3.8.4, 3.7.7 and 3.5.13, teachers of a course were able to assign themselves the manager role within that course.

(As written by CVE List.)

## Affected

- Moodle: Moodle 3.9, 3.8 to 3.8.3, 3.7 to 3.7.6, 3.5 to 3.5.12 and earlier unsupported versions
- moodle/moodle (Packagist): from 3.9.0-beta before 3.9.1; from 3.8.0-beta before 3.8.4; from 3.6.0-beta before 3.7.7; before 3.5.13
- moodle moodle: from 3.5.0 before 3.5.13; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.4; 3.9.0
- moodle (Bitnami): from 3.5.0 before 3.5.13; from 3.7.0 before 3.7.7; from 3.8.0 before 3.8.4; from 3.9.0 before 3.9.1

## 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`
- Bitnami Vulnerability Database: rating High

## References

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

## Sources

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

---

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