CVE-2026-26046
Received
Received - Intake
Command Injection in Moodle TeX Filter Allows Server Compromise
Publication date: 2026-02-21
Last updated on: 2026-02-26
Assigner: Fedora Project
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| moodle | moodle | to 4.5.9 (exc) |
| moodle | moodle | From 5.0.0 (inc) to 5.0.5 (exc) |
| moodle | moodle | From 5.1.0 (inc) to 5.1.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |