RCE in Moodle
CVE-2026-26046
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.022 (80.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
References
- patrick@puiterwijk.org (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- patrick@puiterwijk.org (x_refsource_REDHAT, issue-tracking, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-26046?
- CVE-2026-26046 is a high-severity vulnerability in Moodle, classified under OS Command Injection. CVSS score: 7.2/10. Published 2026-02-21.
- How severe is CVE-2026-26046?
- High severity. CVSS v3 base score is 7.2 out of 10.