Description
Moodle 1.8.x and 1.9.x before 1.9.8 can create new roles when restoring a course, which allows teachers to create new accounts even if they do not have the moodle/user:create capability.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | moodle | 1.8.13-1 | DSA-2115-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 1.8.0, < 1.8.12 | 1.8.12 | GHSA-966m-m549-2878 |
| Packagist | moodle/moodle | >= 1.9.0, < 1.9.8 | 1.9.8 | GHSA-966m-m549-2878 |
Advisories 1
- DSA-2115-1 moodle - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2010-1107 vdb-entry
- http://moodle.org/security/
- SUSE-SR:2010:011 vendor-advisory
- http://tracker.moodle.org/browse/MDL-16658