Description
Moodle 5.3.0, 5.2.0 through 5.2.4, 5.1.0 through 5.1.8, 5.0.0 through 5.0.11, and through 4.5.15 contains a path traversal vulnerability in the Blackboard question import format. Teachers with question import or lesson edit rights can upload a crafted zip with img src values containing ../ sequences, copying server files like config.php into their draft area.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Moodle Project | moodle | 5.3.0, 5.2.0 – ≤ 5.2.4, 5.1.0 – ≤ 5.1.8, 5.0.0 – ≤ 5.0.11, ≤ 4.5.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Advisories 1
- WID-SEC-2026-4274 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 1, 2026
References
- https://github.com/moodle/moodle/blob/v5.3.0/public/question/format/blackboard_six/formatbase.php#L128-L133 technical-description
- https://abraxaslabs.tech/research/moodle-blackboard-img third-party-advisory
- https://github.com/moodle/moodle product
- VulnCheck Advisory: Moodle through 5.3.0, 5.2.4, 5.1.8, 5.0.11 and 4.5.15 Blackboard Import Path Traversal third-party-advisory