CVE-2026-26046
Published:February 21, 2026
Updated:April 23, 2026
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 Packages
https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v5.1.0 <v5.1.2Fix Suggestion:
Update to version v5.1.2https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.0.5Fix Suggestion:
Update to version v5.0.5https://github.com/moodle/moodle.git (GITHUB):
Affected version(s) >=v1.0.0 <v4.5.9Fix Suggestion:
Update to version v4.5.9Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.15