CVE-2026-26046

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
21/02/2026
Last modified:
26/02/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 4.5.9 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 5.0.0 (including) 5.0.5 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 5.1.0 (including) 5.1.2 (excluding)