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.
{
"cna_assigner": "fedora",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26046.json",
"cwe_ids": [
"CWE-78"
]
}{
"cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.5.9"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.5"
},
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.2"
}
],
"source": "CPE_RANGE"
}