Security mailing lists by PureSourceCode

CVE-2022-40314

CRITICAL 9.8CVSS 3.1

Moodle remote code execution

A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.

Published
30 Sep 2022
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Modified
Weakness
CWE-502CWE-94
Also known as
BIT-moodle-2022-40314GHSA-2hmm-q272-xmhf
Sources
NVDJSONOSV GHSA-2hmm-q272-xmhfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.9, < 3.9.17 3.9.17
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.11, < 3.11.10 3.11.10
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.0, < 4.0.4 4.0.4
OSV Packagist moodle/moodle < 3.9.17 3.9.17
OSV Packagist moodle/moodle >= 3.11, < 3.11.10 3.11.10
OSV Packagist moodle/moodle >= 4.0, < 4.0.4 4.0.4

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.