Live threats

All CVEs / Moodle

CVE-2021-40693Moodle

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
Sep 29, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

An authentication bypass risk was identified in the external database authentication functionality, due to a type juggling vulnerability.

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 ≥ 3.9 < 3.9.10 3.9.10 composer require "moodle/moodle:^3.9.10"
Packagist moodle/moodle ≥ 3.10 < 3.10.7 3.10.7 composer require "moodle/moodle:^3.10.7"
Packagist moodle/moodle ≥ 3.11 < 3.11.3 3.11.3 composer require "moodle/moodle:^3.11.3"

Per OSV / GitHub Advisories (GHSA-2jxg-mv2m-j4r7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 3.9.10
moodlemoodle≥ 3.10.0 < 3.10.7
moodlemoodle≥ 3.11.0 < 3.11.3

Official sources

References

Links published by the sources. Open them with care.