CVE-2026-26046

Moodle: moodle: improper input sanitization in tex filter administration setting

State
Published
Severity
7.2 High
Published
Feb 21, 2026
Updated
Feb 26, 2026
Reserved
Feb 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Hfedora

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
moodle
  • before 4.5.9Affected
  • 5.0.0 to before 5.0.5Affected
  • 5.1.0 to before 5.1.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.