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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.030 (86.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-26046: fell from 0.119 to 0.030.

EPSS over last 30 days · oldest: 0.119 · newest: 0.030 · change: -0.089

Affected products

Weakness classification (CWE)

References

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.