Advisory record · GHSA-hcm6-q6pc-xfhm

Moodle has an authorization logic flaw

CVSS 5.4 MediumEPSS 0.0030 · 23rd percentile

Published by the GitHub Advisory Database at 3 Feb 2026, 12:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist<4.1.22 || >=4.4.0-beta, <4.4.12 || >=4.5.0-beta, <4.5.8 || >=5.0.0-beta, <5.0.4 || >=5.1.0-beta, <5.1.14.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
Identifiers
GHSA-hcm6-q6pc-xfhm · BIT-moodle-2025-67856 · CVE-2025-67856 · PKSA-xyd9-vffd-bswp
Weakness (CWE)
CWE-863
Published
3 Feb 2026
Updated
12 Feb 2026

Machine-written summary

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

Moodle versions before 4.1.22, from 4.4.0-beta before 4.4.12, from 4.5.0-beta before 4.5.8, from 5.0.0-beta before 5.0.4, and from 5.1.0-beta before 5.1.1 are affected. Incomplete role checks during badge awarding let badges be granted without proper verification, so an unauthorized user could obtain badges they are not entitled to, possibly leading to privilege escalation or access to certain features. The source gives few details about the attacker's required access. Upgrade to 4.1.22, 4.4.12, 4.5.8, 5.0.4, or 5.1.1, depending on your branch.

Written 3 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
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CNA (fedora)
  • CISA KEV Not listed.
  • EPSS 0.0030, the 23rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 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.