{"id":"CVE-2022-40314","aliases":["BIT-moodle-2022-40314","GHSA-2hmm-q272-xmhf"],"url":"https://o3.security/vulnerability/CVE-2022-40314","summary":"Moodle remote code execution","details":"A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.","published":"2022-09-30T16:29:22Z","modified":"2026-07-15T01:49:18.597186383Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.17"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.0.4"}],"fix":null,"references":[{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=438393"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40314.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40314"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128147"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:18.597186383Z"}}