Advisory record · GHSA-ggxq-2mg9-8966

Moodle has a Remote Code Execution risk via file restore

CVSS 7.2 HighEPSS 0.0064 · 51st percentile

Published by the GitHub Advisory Database at 21 Feb 2026, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=5.1.0-beta, <5.1.2 || >=5.0.0-beta, <5.0.5 || <4.5.95.1.2, 5.0.5, 4.5.9
Identifiers
GHSA-ggxq-2mg9-8966 · BIT-moodle-2026-26045 · CVE-2026-26045 · PKSA-fh6z-73jv-qwnd
Weakness (CWE)
CWE-94
Published
21 Feb 2026
Updated
2 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle versions before 4.5.9, from 5.0.0-beta before 5.0.5, and from 5.1.0-beta before 5.1.2 are affected. An attacker with privileged access who restores a specially crafted backup file can cause unintended execution of server-side code, which could lead to full compromise of the Moodle server. Upgrade to 4.5.9, 5.0.5, or 5.1.2, depending on your branch.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CNA (fedora)
  • CISA KEV Not listed.
  • EPSS 0.0064, the 51st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.