CVE-2026-26046

published 21 Feb 2026 · updated 26 Feb 2026

Moodle: moodle: improper input sanitization in tex filter administration setting

7.7HighCVSS 7.2EPSS 14%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 14%. Fixed in 4.5.9, 5.0.5 and 5.1.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.5.9, >=5.0.0 <5.0.5, >=5.1.0 <5.1.24.5.9, 5.0.5, 5.1.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-26046 severity on Zeptric[![CVE-2026-26046](https://zeptric.io/badge/cve/CVE-2026-26046.svg)](https://zeptric.io/cve/CVE-2026-26046)