{
  "id": "CVE-2026-26045",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-26045",
  "published_at": "2026-02-21T05:40:05.763Z",
  "title": "Moodle: moodle: improper validation in file restore functionality leading to remote code execution",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was identified in Moodle’s backup restore functionality where specially crafted backup files were not properly validated during processing. If a malicious backup file is restored, it could lead to unintended execution of server-side code. Since restore capabilities are typically available to privileged users, exploitation requires authenticated access. Successful exploitation could result in full compromise of the Moodle server.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 4.5.9",
          "\u003e= 5.0.0, \u003c 5.0.5",
          "\u003e= 5.1.0, \u003c 5.1.2"
        ],
        "fixed_in": [
          "4.5.9",
          "5.0.5",
          "5.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 4.5.9 or 5.0.5 or 5.1.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
