Vulnerability · Published Feb 3, 2026 · Assigned by fedora

CVE-2025-67856Moodle: moodle: privilege escalation via incomplete role checks in badge awarding

Medium 5.4

In plain English

A medium-severity incorrect authorization in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 77.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in Moodle. An authorization logic flaw, specifically due to incomplete role checks during the badge awarding process, allowed badges to be granted without proper verification. This could enable unauthorized users to obtain badges they are not entitled to, potentially leading to privilege escalation or unauthorized access to certain features.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.1.22GHSA-hcm6-q6pc-xfhm
Packagistmoodle/moodle4.4.12GHSA-hcm6-q6pc-xfhm
Packagistmoodle/moodle4.5.8GHSA-hcm6-q6pc-xfhm
Packagistmoodle/moodle5.0.4GHSA-hcm6-q6pc-xfhm
Packagistmoodle/moodle5.1.1GHSA-hcm6-q6pc-xfhm

Affected products (as reported)

VendorProductVersions
moodle 4.1.0 – before 4.1.224.4.0 – before 4.4.124.5.0 – before 4.5.85.0.0 – before 5.0.45.1.0 – before 5.1.1

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References