Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-26045: Improper Control of Generation of Code ('Code Injection')

0
High
VulnerabilityCVE-2026-26045cvecve-2026-26045
Published: Sat Feb 21 2026 (02/21/2026, 05:40:05 UTC)
Source: CVE Database V5

Description

CVE-2026-26045 is a high-severity vulnerability in Moodle's backup restore functionality that allows authenticated privileged users to execute arbitrary server-side code by restoring specially crafted backup files. Exploitation requires authenticated access with restore privileges, typically held by administrators or trusted users. Successful exploitation can lead to full compromise of the Moodle server, impacting confidentiality, integrity, and availability. The vulnerability affects Moodle versions 0, 5. 0. 0, and 5. 1. 0. No known exploits are currently observed in the wild. The CVSS score is 7.

AI-Powered Analysis

AILast updated: 02/21/2026, 06:16:58 UTC

Technical Analysis

CVE-2026-26045 is a code injection vulnerability identified in Moodle's backup restore functionality. The flaw arises because specially crafted backup files are not properly validated during the restore process. When a malicious backup file is restored, it can trigger unintended execution of arbitrary server-side code on the Moodle server. This vulnerability requires authenticated access with restore privileges, which are typically assigned to privileged users such as administrators or course managers. The vulnerability affects Moodle versions 0, 5.0.0, and 5.1.0. The CVSS 3.1 base score of 7.2 indicates a high severity, with an attack vector of network (remote), low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, the potential for full server compromise makes this vulnerability critical to address. The lack of proper validation in the backup restore process allows attackers to inject malicious code that the server executes, potentially leading to data theft, service disruption, or further network penetration. The vulnerability was published on February 21, 2026, and is tracked under CVE-2026-26045.

Potential Impact

The impact of CVE-2026-26045 is significant for organizations using affected Moodle versions. Successful exploitation can lead to full compromise of the Moodle server, allowing attackers to execute arbitrary code with the privileges of the Moodle service. This can result in unauthorized access to sensitive educational data, modification or deletion of course content, disruption of e-learning services, and potential lateral movement within the organization's network. Given Moodle's widespread use in educational institutions, government agencies, and enterprises worldwide, the vulnerability poses a risk to confidentiality, integrity, and availability of critical learning management systems. The requirement for authenticated privileged access limits the attack surface but does not eliminate risk, especially in environments with weak access controls or insider threats. The absence of known exploits in the wild suggests limited active exploitation currently, but the vulnerability's nature and impact warrant urgent remediation to prevent future attacks.

Mitigation Recommendations

To mitigate CVE-2026-26045, organizations should: 1) Immediately upgrade Moodle installations to patched versions once available from official sources, as no patch links are currently provided but monitoring for updates is critical. 2) Restrict backup restore permissions strictly to trusted administrators and minimize the number of users with such privileges. 3) Implement strong authentication mechanisms, including multi-factor authentication, to reduce risk of credential compromise. 4) Monitor logs for unusual restore activities or attempts to upload backup files from untrusted sources. 5) Employ network segmentation to isolate Moodle servers and limit exposure to internal threats. 6) Conduct regular security audits and vulnerability assessments on Moodle deployments. 7) Educate administrators on the risks of restoring backups from unverified sources. 8) Consider deploying web application firewalls (WAFs) with custom rules to detect anomalous restore requests. These measures combined will reduce the likelihood of exploitation and limit potential damage.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
fedora
Date Reserved
2026-02-10T13:30:03.985Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69994a6fbe58cf853b51dfb4

Added to database: 2/21/2026, 6:02:23 AM

Last enriched: 2/21/2026, 6:16:58 AM

Last updated: 2/21/2026, 7:26:55 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats