CVE-2023-5550Moodle
Critical 9.8 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Nov 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the Moodle webroot could utilise a local file include to achieve remote code execution.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.3.0-beta < 4.3.0-rc2 |
4.3.0-rc2 |
composer require "moodle/moodle:^4.3.0-rc2" |
| Packagist | moodle/moodle |
≥ 4.2.0 < 4.2.3 |
4.2.3 |
composer require "moodle/moodle:^4.2.3" |
| Packagist | moodle/moodle |
≥ 4.1.0 < 4.1.6 |
4.1.6 |
composer require "moodle/moodle:^4.1.6" |
| Packagist | moodle/moodle |
≥ 4.0.0 < 4.0.11 |
4.0.11 |
composer require "moodle/moodle:^4.0.11" |
| Packagist | moodle/moodle |
≥ 3.10.0 < 3.11.17 |
3.11.17 |
composer require "moodle/moodle:^3.11.17" |
| Packagist | moodle/moodle |
< 3.9.24 |
3.9.24 |
composer require "moodle/moodle:^3.9.24" |
Per OSV / GitHub Advisories (GHSA-5cvx-cwpx-9rjh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.9.24 |
| moodle | moodle | ≥ 3.11.0 < 3.11.17 |
| moodle | moodle | ≥ 4.0.0 < 4.0.11 |
| moodle | moodle | ≥ 4.1.0 < 4.1.6 |
| moodle | moodle | ≥ 4.2.0 < 4.2.3 |
| fedoraproject | extra_packages_for_enterprise_linux | 7.0 |
| fedoraproject | fedora | 38 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- moodle.org Patch Vendor Advisory