Live threats

All CVEs / Moodle

CVE-2025-67856Moodle

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Feb 3, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle < 4.1.22 4.1.22 composer require "moodle/moodle:^4.1.22"
Packagist moodle/moodle ≥ 4.4.0-beta < 4.4.12 4.4.12 composer require "moodle/moodle:^4.4.12"
Packagist moodle/moodle ≥ 4.5.0-beta < 4.5.8 4.5.8 composer require "moodle/moodle:^4.5.8"
Packagist moodle/moodle ≥ 5.0.0-beta < 5.0.4 5.0.4 composer require "moodle/moodle:^5.0.4"
Packagist moodle/moodle ≥ 5.1.0-beta < 5.1.1 5.1.1 composer require "moodle/moodle:^5.1.1"

Per OSV / GitHub Advisories (GHSA-hcm6-q6pc-xfhm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 4.1.22
moodlemoodle≥ 4.4.0 < 4.4.12
moodlemoodle≥ 4.5.0 < 4.5.8
moodlemoodle≥ 5.0.0 < 5.0.4
moodlemoodle5.1.0

Official sources

References

Links published by the sources. Open them with care.