Advisory record · GHSA-h77r-rp97-7rv4

Privilage Escalation in moodle

CVSS 7.5 HighEPSS 0.016 · 76th percentile

Published by the GitHub Advisory Database at 29 Mar 2021, 20:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.9.0, <3.9.3 || >=3.8.0, <3.8.6 || >=3.7.0, <3.7.9 || >=3.5, <3.5.153.9.3, 3.8.6, 3.7.9, 3.5.15
Identifiers
GHSA-h77r-rp97-7rv4 · BIT-moodle-2020-25699 · CVE-2020-25699 · PKSA-9c8q-s2rm-8gsf
Weakness (CWE)
CWE-269 · CWE-863
Published
29 Mar 2021
Updated
16 Feb 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle versions 3.5 to 3.5.14, 3.7 to 3.7.8, 3.8 to 3.8.5, 3.9 to 3.9.2, and earlier unsupported versions are affected. Users who have the ability to restore a course can add capabilities to roles within that course because of insufficient capability checks, which escalates their privileges. Upgrade to 3.5.15, 3.7.9, 3.8.6, 3.9.3, or 3.10.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.016, the 76th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:31 UTC First seen by agentprime
  2. 31 Oct 2026, 14:31 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.