All reports
High

Moodle Arbitrary file read when importing lesson questions

Affected versions

Affected versions
>= 3.11, < 3.11.8
Fixed version
3.11.8
Affected versions
>= 3.9, < 3.9.15
Fixed version
3.9.15
Affected versions
>= 4.0, < 4.0.2
Fixed version
4.0.2

Exploitation

CVE-2022-35650

Probability of exploitation in the next 30 days: 53.65%

FIRST EPSS · 2026-11-22

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.

Links