--- title: "CVE-2022-35650: Moodle vulnerability | CubePath" description: "The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results…" language: en source: https://cubepath.com/security/cve/CVE-2022-35650 --- # CVE-2022-35650: Moodle vulnerability | CubePath ## Description The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default. Official description from the CVE record, published by fedora. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-35650) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.53652 (53.7% probability) Percentile 99.0% Scores of Nov 10, 2026 Model v2026.06.15 ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-22](https://cwe.mitre.org/data/definitions/22.html) Improper Limitation of a Pathname to a Restricted Directory ## Affected products Products listed in the CVE record, as the CNA published them. - Moodle - affected: Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [bugzilla.redhat.com/show\_bug.cgi?id=2106274](https://bugzilla.redhat.com/show%5Fbug.cgi?id=2106274) - [moodle.org/mod/forum/discuss.php?d=436457](https://moodle.org/mod/forum/discuss.php?d=436457) - [git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=…](http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029) - [FEDORA-2022-81ce74b2dd](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/) (lists.fedoraproject.org) vendor-advisory - [FEDORA-2022-7e7ce7df2e](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/) (lists.fedoraproject.org) vendor-advisory ## Timeline 1. ID reserved Jul 12, 2022 2. Record published Jul 25, 2022 3. Record last updated Aug 3, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:02 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)