{"id":"UBUNTU-CVE-2026-26046","details":"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.","modified":"2026-09-22T22:56:04.786058603Z","published":"2026-02-21T06:17:00Z","upstream":["CVE-2026-26046"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-26046"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-26046"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-26046"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440903"}],"affected":[{"package":{"name":"moodle","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/moodle?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"moodle","binary_version":"3.0.3+dfsg-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26046.json"}},{"package":{"name":"moodle","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/moodle?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.3+dfsg-0ubuntu1+esm1","binary_name":"moodle"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26046.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}