CVE-2026-26046: Moodle: moodle: improper input sanitization in tex filter administration setting
CVE-2026-26046 affects 218 listed versions of Moodle in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Moodle
218 of 250 listed versions are affected. Fixed in 5.1.2, 5.0.5, 4.5.9. The newest release, 5.3.1, is not affected.
5.1.1 5.1.0 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0 4.5.8 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.4.12 4.4.11 4.4.10 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.4 4.3.12 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.22 4.1.21 4.1.20 4.1.19 4.1.18 4.1.17 4.1.16 and 158 more
What it is
A vulnerability was found in a Moodle TeX filter administrative setting where insufficient sanitization of configuration input could allow command injection. On sites where the TeX filter is enabled and ImageMagick is installed, a maliciously crafted setting value entered by an administrator could result in unintended system command execution. While exploitation requires administrative privileges, successful compromise could affect the entire Moodle server.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (Fedora)
Published by Fedora on 21 February 2026. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2026-26046 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.