CVE-2020-14321Moodle Authorization Bypass
Moodle Incorrect Authorization vulnerability
Published Aug 16, 2022 · Updated Oct 24, 2026 · Also known as BIT-moodle-2020-14321, GHSA-9q29-jcjw-fw7h, UBUNTU-CVE-2020-14321
Key Facts
Patch immediately- CVE-2020-14321 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Moodle, moodle/moodle (composer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 37% probability of exploitation in the next 30 days.
- Fixed versions are available, including Moodle 3.5.13, Moodle 3.7.7, Moodle 3.8.4.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
37%
Higher than 98.5% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
60/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
9 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MoodleMoodle | 3.9.0, >= 3.5.0, >= 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 | 3.5.13 |
| moodle/moodlecomposer | >= 3.6.0-beta | 3.5.13 |
Patched Releases
Moodle
3.5.13, 3.7.7, 3.8.4, 3.9.1
moodle/moodle
3.5.13, 3.7.7, 3.8.4, 3.9.1
Timeline
Publicly disclosed
Aug 16, 2022
Last updated
Oct 24, 2026
Weakness Type
- CWE-863 Incorrect Authorization
References
- advisorynvd.nist.gov · CVE-2020-14321
- advisoryubuntu.com · CVE-2020-14321
- advisorycve.org · CVERecord
- advisorycxsecurity.com · WLB-2021100060
- advisorycxsecurity.com · WLB-2021100061
FAQ
Common Questions.
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.
Affected: Moodle versions 3.9.0, >= 3.5.0, >= 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 (composer) versions >= 3.6.0-beta. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Moodle 3.5.13, Moodle 3.7.7, Moodle 3.8.4.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2020-14321 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo