Live threats

All CVEs / Moodle

CVE-2015-5266Moodle

Medium 6.8

Priority
41
CVSS 3.0
6.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Feb 22, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

The enrol_meta_sync function in enrol/meta/locallib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 allows remote authenticated users to obtain manager privileges in opportunistic circumstances by leveraging incorrect role processing during a long-running sync script.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 2.7.0 < 2.7.10 2.7.10 composer require "moodle/moodle:^2.7.10"
Packagist moodle/moodle ≥ 2.8.0 < 2.8.8 2.8.8 composer require "moodle/moodle:^2.8.8"
Packagist moodle/moodle ≥ 2.9.0 < 2.9.2 2.9.2 composer require "moodle/moodle:^2.9.2"

Per OSV / GitHub Advisories (GHSA-454r-4cjv-vc9h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≤ 2.6.11
moodlemoodle2.7.0
moodlemoodle2.7.1
moodlemoodle2.7.2
moodlemoodle2.7.3
moodlemoodle2.7.4
moodlemoodle2.7.5
moodlemoodle2.7.6
moodlemoodle2.7.7
moodlemoodle2.7.8
moodlemoodle2.7.9
moodlemoodle2.8.0
moodlemoodle2.8.1
moodlemoodle2.8.2
moodlemoodle2.8.3
moodlemoodle2.8.4
moodlemoodle2.8.5
moodlemoodle2.8.6
moodlemoodle2.8.7
moodlemoodle2.9.0
moodlemoodle2.9.1

Official sources

References

Links published by the sources. Open them with care.