{"id":"CVE-2025-67847","aliases":["CVE-2025-67847","GHSA-xvmh-25jw-gmmm","BIT-MOODLE-2025-67847"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: moodle: remote code execution via insufficient restore input validation","summary":"A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in Moodle. An attacker with access to the restore interface could trigger server-side execution of arbitrary code. This is due to insufficient validation of restore input, which leads to unintended interpretation by core restore routines. Successful exploitation could result in a full compromise of the Moodle application.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en Moodle. Un atacante con acceso a la interfaz de restauración podría desencadenar la ejecución de código arbitrario del lado del servidor. Esto se debe a una validación insuficiente de la entrada de restauración, lo que lleva a una interpretación no intencionada por parte de las rutinas de restauración del núcleo. Una explotación exitosa podría resultar en un compromiso total de la aplicación Moodle.","source":"nvd"}],"published":"2026-01-23T04:35:12.044Z","modified":"2026-09-08T08:48:15.616Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"5.1.0","fixed":"5.1.1","status":"affected"},{"type":"semver","introduced":"5.0.0","fixed":"5.0.4","status":"affected"},{"type":"semver","introduced":"4.5.0","fixed":"4.5.8","status":"affected"},{"type":"semver","introduced":"4.4.0","fixed":"4.4.12","status":"affected"},{"type":"semver","introduced":"4.1.0","fixed":"4.1.22","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1.0","status":"affected"}],"package":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.1.0-beta","status":"affected","fixed":"5.1.1"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0-beta","status":"affected","fixed":"5.0.4"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0-beta","status":"affected","fixed":"4.5.8"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0-beta","status":"affected","fixed":"4.4.12"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.22"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.22"},{"status":"affected","introduced":"4.4.0","fixed":"4.4.12"},{"status":"affected","introduced":"4.5.0","fixed":"4.5.8"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.4"},{"status":"affected","version":"5.1.0"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.22"},{"type":"semver","introduced":"4.4.0","status":"affected","fixed":"4.4.12"},{"type":"semver","introduced":"4.5.0","status":"affected","fixed":"4.5.8"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.4"},{"type":"semver","introduced":"5.1.0","status":"affected","fixed":"5.1.1"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-67847","tags":["advisory","third-party-advisory","vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67847","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"sources":["ghsa"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=471297#p1892199","tags":["web"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Dinhnhi for reporting this issue."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-24T04:55:19.850Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-67847","url":"https://www.cve.org/CVERecord?id=CVE-2025-67847","licence":"CVE Terms of Use","modified":"2026-02-26T14:44:24.914Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xvmh-25jw-gmmm","url":"https://github.com/advisories/GHSA-xvmh-25jw-gmmm","licence":"CC-BY-4.0","modified":"2026-03-06T09:26:16.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-67847","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67847","licence":"Public domain","modified":"2026-06-17T09:58:10.777Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2025-67847","url":"https://osv.dev/vulnerability/BIT-MOODLE-2025-67847","licence":"Apache-2.0","modified":"2026-09-08T08:48:15.616Z"}],"updatedAt":"2026-11-25T22:59:10.831Z","epss":{"score":0.00799,"percentile":0.53297,"date":"2026-11-30T12:00:22.000Z"}}