All vulnerabilities

Servers and applications

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…

Severity
High 7.2
Published
21 Feb 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.5.9, 5.0.5, 5.1.2
Exploit chance
14% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Every version before 4.5.9
  • From 5.0.0 before 5.0.5
  • From 5.1.0 before 5.1.2

About Moodle

e-learning platform

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,728Packagist, 15 Nov 2026
Total downloads (Packagist)
98,594Packagist, 15 Nov 2026
GitHub stars
7,615GitHub, 15 Nov 2026
Forks
7,716GitHub, 15 Nov 2026
Developer
Martin DougiamasWikidata
License
GNU General Public License, version 3.0, GNU General Public LicenseWikidata
Written in
PHPWikidata
First released
20 Aug 2002Wikidata
First published on GitHub
16 Dec 2009GitHub

Release lines

ReleaseLatestSecurity fixes
5.3 (LTS)LTS5.3.1Until 1 Oct 2029
5.25.2.5Until 4 Oct 2027
5.15.1.9Until 19 Apr 2027
5.05.0.12Ended 5 Oct 2026
4.5 (LTS)LTS4.5.16Until 4 Oct 2027
4.44.4.12Ended 8 Dec 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-26046
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-26046