What’s Vulnerable › Vulnerabilities
CVE-2026-26046: Moodle: moodle: improper input sanitization in tex filter administration setting
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-21 · updated 2026-06-17
- Weakness: CWE-78
Description
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.
Affected products
- Moodle: before 4.5.9; from 5.0.0 before 5.0.5; from 5.1.0 before 5.1.2 — fixed in 4.5.9, 5.0.5, 5.1.2
How to fix
Upgrade to a fixed version: Moodle 4.5.9, 5.0.5, 5.1.2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2026-26046
- https://bugzilla.redhat.com/show_bug.cgi?id=2440903
Get alerted when CVE-2026-26046 or the next vulnerability affects your stack