CVE-2022-35650
HighMoodle Arbitrary file read when importing lesson questions
Published Jul 26, 2022 · Updated Sep 8, 2026 · Also known as BIT-moodle-2022-35650, GHSA-pgm5-cr62-prxq, UBUNTU-CVE-2022-35650
Key Facts
Patch immediately- CVE-2022-35650 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Moodle, Fedora (Fedoraproject), moodle/moodle (composer).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 54% probability of exploitation in the next 30 days.
- Fixed versions are available, including Moodle 3.11.8, Moodle 3.9.15, Moodle 4.0.2.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
54%
Higher than 98.9% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-35650 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
8 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MoodleMoodle | >= 3.9.0, >= Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 | 3.9.15 |
| FedoraFedoraproject | 35, 36 | n/a |
| moodle/moodlecomposer | >= 4.0 | 4.0.2 |
Patched Releases
Moodle
3.11.8, 3.9.15, 4.0.2
moodle/moodle
3.11.8, 3.9.15, 4.0.2
Timeline
Publicly disclosed
Jul 26, 2022
Last updated
Sep 8, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisoryhttps://bugzilla.redhat.com/show_bug.cgi?id=2106274
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35650.json
- advisoryhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
- advisoryhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/
FAQ
Common Questions.
The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions.
Affected: Moodle versions >= 3.9.0, >= Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15; Fedora (Fedoraproject) versions 35, 36; moodle/moodle (composer) versions >= 4.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Moodle 3.11.8, Moodle 3.9.15, Moodle 4.0.2.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-35650 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo