Incorrect Authorization Affecting moodle/moodle package, versions <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.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-15202502
  • published4 Feb 2026
  • disclosed3 Feb 2026
  • creditStefan Hanauska

Introduced: 3 Feb 2026

CVE-2025-67856  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Incorrect Authorization via incomplete role checks in the badge awarding. An attacker can gain unauthorized access to badges and potentially escalate privileges by exploiting insufficient verification during badge assignment.

CVSS Base Scores

version 4.0
version 3.1