Every CVE Search/ Get API key

CVE-2020-14321

Moodle Incorrect Authorization vulnerability

8.8 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

16.0%Up 0.3 points since Aug 17, 2022
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2020-14321
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-14321
Weakness
CWE-863
Updated
2026-11-02
EUVDEUVD-2020-6471 No score

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.

Record
EUVD-2020-6471
Updated
2026-11-03
GitHub AdvisoriesGHSA-9q29-jcjw-fw7h 8.8

Moodle Incorrect Authorization vulnerability

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.

Record
GHSA-9q29-jcjw-fw7h
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSV 8.8

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.

Record
CVE-2020-14321
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-9q29-jcjw-fw7h 8.8

Moodle Incorrect Authorization vulnerability

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.

Record
GHSA-9q29-jcjw-fw7h
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSVUBUNTU-CVE-2020-14321 8.8

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.

Record
UBUNTU-CVE-2020-14321
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-moodle-2020-14321 No score

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.

Record
BIT-moodle-2020-14321
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moodle/moodle
Packagist
3.9.0-beta up to 3.9.1
3.9.1
moodle/moodle
Packagist
3.8.0-beta up to 3.8.4
3.8.4
moodle/moodle
Packagist
3.6.0-beta up to 3.7.7
3.7.7
moodle/moodle
Packagist
before 3.5.13
3.5.13
moodle
Bitnami
3.5.0 up to 3.5.13, 3.7.0 up to 3.7.7, 3.8.0 up to 3.8.4, 3.9.0 up to 3.9.1
3.5.133.7.73.8.43.9.1
moodle/moodle
Packagist
3.9.0-beta up to 3.9.1, plus listed versions
v3.9.0v3.9.0-betav3.9.0-rc1v3.9.0-rc2v3.9.0-rc3
3.9.1
moodle/moodle
Packagist
3.8.0-beta up to 3.8.4, plus listed versions
v3.8.0v3.8.0-betav3.8.0-rc1v3.8.1v3.8.2v3.8.3
3.8.4
moodle/moodle
Packagist
3.6.0-beta up to 3.7.7, plus listed versions
v3.6.0v3.6.0-betav3.6.0-rc1v3.6.0-rc2v3.6.0-rc3
Show 20 moreShow less
v3.6.1v3.6.10v3.6.2v3.6.3v3.6.4v3.6.5v3.6.6v3.6.7v3.6.8v3.6.9v3.7.0v3.7.0-betav3.7.0-rc1v3.7.0-rc2v3.7.1v3.7.2v3.7.3v3.7.4v3.7.5v3.7.6
3.7.7
moodle/moodle
Packagist
before 3.5.13, plus listed versions
v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6
Show 45 moreShow less
v2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8v2.5.9v2.6.0v2.6.0-betav2.6.0-rc1v2.6.1v2.6.10v2.6.11v2.6.2v2.6.3v2.6.4v2.6.5v2.6.6v2.6.7v2.6.8v2.6.9v2.7.0v2.7.0-betav2.7.0-rc1
3.5.13
moodle
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known
moodle
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitMoodle Teacher Enrollment Privilege Escalation to RCE2020-07-20
PoC in GitHubHoangKien1020/CVE-2020-143212020-07-26
PoC in GitHubf0ns1/CVE-2020-14321-modified-exploit2022-02-01
PoC in GitHublanzt/CVE-2020-143212021-04-28

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, Metasploit, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-14321 is a high vulnerability (CVSS 8.8) in Moodle, published August 16, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 16.0%, the 96th percentile. Fixed in moodle/moodle 3.9.1.

References

This page doesn't list everything

Left out here: 147 versions. The JSON record has them.

MoveEnter Open