Live threats

All CVEs / Moodle

CVE-2023-5550Moodle

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle< 3.9.24
moodlemoodle≥ 3.11.0 < 3.11.17
moodlemoodle≥ 4.0.0 < 4.0.11
moodlemoodle≥ 4.1.0 < 4.1.6
moodlemoodle≥ 4.2.0 < 4.2.3
fedoraprojectextra_packages_for_enterprise_linux7.0
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.