Access Control Bypass Affecting moodle/moodle package, versions <4.1.21>=4.4.0-beta, <4.4.11>=4.5.0-beta, <4.5.7>=5.0.0-beta, <5.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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 Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-13704120
  • published24 Oct 2025
  • disclosed23 Oct 2025
  • creditPaul Holden

Introduced: 23 Oct 2025

NewCVE-2025-62395  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.1.21, 4.4.11, 4.5.7, 5.0.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Access Control Bypass due to the improperly enforced context-based capability checks in the external cohort search. An attacker can access restricted administrative data by leveraging permissions in lower contexts to retrieve cohort information from the system context.

CVSS Base Scores

version 4.0
version 3.1