Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2025-67856

CVE-2025-67856: Moodle has an authorization logic flaw

February 3, 2026

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.

References

  • access.redhat.com/security/cve/CVE-2025-67856
  • bugzilla.redhat.com/show_bug.cgi?id=2423864
  • github.com/advisories/GHSA-hcm6-q6pc-xfhm
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/0d48779e61bcacbabbcb82858a037b567351fce0
  • moodle.org/mod/forum/discuss.php?d=471306
  • nvd.nist.gov/vuln/detail/CVE-2025-67856

Code Behaviors & Features

Detect and mitigate CVE-2025-67856 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.22, all versions starting from 4.4.0-beta before 4.4.12, all versions starting from 4.5.0-beta before 4.5.8, all versions starting from 5.0.0-beta before 5.0.4, all versions starting from 5.1.0-beta before 5.1.1

Fixed versions

  • 4.1.22
  • 4.4.12
  • 4.5.8
  • 5.0.4
  • 5.1.1

Solution

Upgrade to versions 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/moodle/moodle/CVE-2025-67856.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Feb 2026 12:21:33 +0000.