Skip to content
Emerging threatsHigh

CVE-2022-35650Moodle Path Traversal

Moodle Arbitrary file read when importing lesson questions

Published Jul 26, 2022 · Updated Oct 28, 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.

Scores

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 99.0% of all scored CVEs

Exploit maturity

None known

ATLAS score

30/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

10 affected entries in total
ProductAffected versionsFixed in
MoodleMoodle>= 3.9.0, >= Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.153.9.15
FedoraFedoraproject35, 36n/a
moodle/moodlecomposer>= 4.04.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

  1. Publicly disclosed

    Jul 26, 2022

  2. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-35650 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.