CVE-2020-25629
HIGH 8.8CVSS 3.1Moodle incorrect access control
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.
- Published
- 8 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-284CWE-862
- Also known as
- BIT-moodle-2020-25629GHSA-f5r8-7h4f-jr9x
- Sources
- NVDJSONOSV GHSA-f5r8-7h4f-jr9xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.14 | 3.5.14 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.8 | 3.7.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.8.0, < 3.8.5 | 3.8.5 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.2 | 3.9.2 |
| OSV | Packagist | moodle/moodle | >= 3.9, < 3.9.2 | 3.9.2 |
| OSV | Packagist | moodle/moodle | >= 3.8, < 3.8.5 | 3.8.5 |
| OSV | Packagist | moodle/moodle | >= 3.7, < 3.7.8 | 3.7.8 |
| OSV | Packagist | moodle/moodle | >= 3.5, < 3.5.14 | 3.5.14 |
References
- https://moodle.org/mod/forum/discuss.php?d=410841 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-25629 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Dec 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)