{"id":"CVE-2026-26046","state":"PUBLISHED","title":"Moodle: moodle: improper input sanitization in tex filter administration setting","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.","publishedAt":"2026-02-21T05:40:08.388Z","updatedAt":"2026-02-26T14:44:11.847Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"fedora"},"assigner":"fedora","products":["moodle"],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.5.9","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.5","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.2","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle"}],"references":["https://access.redhat.com/security/cve/CVE-2026-26046","https://bugzilla.redhat.com/show_bug.cgi?id=2440903"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/26xxx/CVE-2026-26046.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-26046","state":"PUBLISHED","datePublished":"2026-02-21T05:40:08.388Z","dateUpdated":"2026-02-26T14:44:11.847Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2026-02-10T13:30:03.985Z"},"containers":{"cna":{"title":"Moodle: moodle: improper input sanitization in tex filter administration setting","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"moodle","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.5.9","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.5","versionType":"semver"},{"version":"5.1.0","status":"affected","lessThan":"5.1.2","versionType":"semver"}],"collectionURL":"https://github.com/moodle/moodle"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-26046","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440903","name":"RHBZ#2440903","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2026-02-21T05:40:08.388Z"},"datePublic":"2026-02-19T00:00:00.000Z","x_redhatCweChain":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","timeline":[{"lang":"en","time":"2026-02-19T08:49:08.680Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-02-19T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Vicevirus for reporting this issue."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-26046","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-02-24T04:56:34.735570Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T14:44:11.847Z"}}]}}}