CVE-2022-35650
Improper Limitation of a Pathname to a Restricted Directory
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 for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.53652 (53.7% probability)
- Percentile
- 99.0%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
Weakness (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory
Affected products
Moodle
- affected: Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15
References
- bugzilla.redhat.com/show_bug.cgi?id=2106274
- moodle.org/mod/forum/discuss.php?d=436457
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=…
- FEDORA-2022-81ce74b2dd (lists.fedoraproject.org)vendor-advisory
- FEDORA-2022-7e7ce7df2e (lists.fedoraproject.org)vendor-advisory
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
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, 19:49 UTC. Sources and licenses