Skip to main content

Moodle CVE-2026-133060

| EUVDEUVD-2026-130333 MEDIUM
Path Traversal (CWE-22)
2026-11-19 fedora GHSA-fr4r-wph8-xrxh
6.5
CVSS 3.1 · Vendor: fedora
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain account with question-import capability
  2. Delivery
    Craft Blackboard import referencing ../../config.php
  3. Exploit
    Submit import to question bank
  4. Execution
    File copied into draft area
  5. Impact
    Download and read sensitive server file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Moodle user holding the capability to import questions into a question bank (typically a teacher, editing-teacher, course creator, or manager role) and use of the Blackboard (blackboard_six) question import format. The attacker supplies an import package whose referenced file paths use directory traversal ('../../config.php') or absolute paths to escape the extracted import's file-base directory; the unpatched code copies any file readable by the web server process into the user's draft area. Limiting factors: exploitation is NOT possible for unauthenticated or unprivileged (student) accounts - it is gated on the elevated question-import capability; it is confined to files readable by the web server user (no write/integrity or DoS impact); and it depends on the blackboard_six import path specifically. No user interaction by a victim is required (UI:N).

Impact

This is a moderate-severity information-disclosure flaw whose real-world priority is bounded primarily by its privilege requirement. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, base 6.5) is internally consistent with the description: network-reachable, low complexity, but requiring an authenticated user (PR:L) who holds the specific capability to import questions into a question bank - typically a teacher, course manager, or editing role, not an anonymous visitor. Confidentiality impact is High (arbitrary file read limited to files readable by the web server process, e.g. Moodle's config.php with DB credentials) with no integrity or availability impact, matching C:H/I:N/A:N. No EPSS score, KEV entry, or POC was supplied, so exploitation signals are weak: there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a privileged-access path-traversal rather than an unauthenticated internet-facing bug. Net: a legitimate priority for Moodle operators to patch on a normal cycle, not a drop-everything emergency. One caveat worth verifying: the official vector sets PR:L, but importing questions into a question bank is an elevated course-level capability, so some environments may reasonably treat the required privilege as closer to PR:H depending on role configuration.

Exploit ScenarioDerived

An attacker who already holds a teacher, course-creator, or manager role (or who compromises such an account) crafts a malicious Blackboard-format question import package whose embedded content references files via path traversal (e.g. '../../config.php' or an absolute path). On import, the unpatched blackboard_six formatbase copies the referenced server file into the user's draft area, letting the attacker download sensitive files such as Moodle's database credentials. No public exploit was identified at time of analysis, but the fix commit and its unit tests clearly demonstrate the traversal mechanism.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Moodle's Blackboard (blackboard_six) question import format allows authenticated users with question-bank import permissions to read arbitrary files accessible to the web server process via directory traversal or absolute paths such as '../../config.php'. This CWE-22 path traversal has a CVSS score of 6.5 and affects confidentiality only; it is gated on the elevated question-import capability, so unauthenticated and student accounts cannot exploit it. No public exploit was identified at the time of analysis, and an upstream fix commit (15b931ad4cc956453c504fbcac2ab38a9d3349f4) is available, though a released patched version is not independently confirmed.

RemediationAI

Apply the upstream fix commit 15b931ad4cc956453c504fbcac2ab38a9d3349f4 or update to a Moodle release that includes it; the provided data shows an upstream fix commit, but a released patched version is not independently confirmed. The commit adds is_path_inside_filebase() in public/question/format/blackboard_six/formatbase.php to reject traversal and absolute paths outside the import file base. No vendor-documented workaround is included in the references; as a compensating control, restrict the question-import capability to trusted roles and disable the Blackboard (blackboard_six) import format if it is not needed-this reduces exposure but does not remediate the underlying path traversal. Monitor https://access.redhat.com/security/cve/CVE-2026-133060 and https://bugzilla.redhat.com/show_bug.cgi?id=2576518 for updated fixed-version information.

Affected ProductsAI

Moodle installations that expose the Blackboard (blackboard_six) question import format are affected; the vulnerable code is in public/question/format/blackboard_six/formatbase.php. The provided intelligence does not include exact Moodle version ranges or CPE strings, so administrators should treat any unpatched Moodle deployment with the blackboard_six import format enabled as potentially affected. Vendor and upstream references are the Red Hat CVE page (https://access.redhat.com/security/cve/CVE-2026-133060), Red Hat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=2576518), and the Moodle fix commit (https://github.com/moodle/moodle/commit/15b931ad4cc956453c504fbcac2ab38a9d3349f4).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is in Moodle's Blackboard question import format (blackboard_six), specifically in public/question/format/blackboard_six/formatbase.php. During import, text_field() processes HTML content and resolves file references relative to the extracted import's file-base directory before copying those files into the user's draft area. The pre-patch logic concatenated the file base with an attacker-supplied path and checked only is_readable(), so paths using '../' sequences or absolute paths could resolve outside the import root and cause arbitrary web-server-readable files to be copied into the draft area. The upstream fix introduces is_path_inside_filebase(), which rejects empty paths and NUL bytes, resolves the candidate with realpath(), requires it to be a readable regular file, and confirms the resolved path begins with the realpath of the file base plus a directory separator; the fix also replaces preg_replace() with str_replace() for the file-reference substitution. This corresponds to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e., path traversal).

Know when Moodle gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (fedora) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable import with low complexity; PR:L because it needs an elevated question-import course capability; C:H for arbitrary server-file read, I:N/A:N as it is read-only.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (fedora).

CVSS VectorVendor: fedora

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

A flaw was found in Moodle's Blackboard question import format. Insufficient validation of file paths during the question import process allows an authenticated user with permissions to import questions into a question bank to read arbitrary files accessible to the web server process. An attacker could leverage this vulnerability to view sensitive files, resulting in unauthorized information disclosure.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
Moodle is among the most widely deployed LMS platforms worldwide
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Moodle

View all
CVE-2013-3630 MEDIUM POC
4.6 Nov 01

Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell

CVE-2021-21809 CRITICAL POC
9.1 Jun 23

A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. Rated critical severi

CVE-2024-43425 HIGH POC
8.1 Nov 07

A flaw was found in Moodle. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticatio

CVE-2017-2641 CRITICAL POC
9.8 Mar 26

In Moodle 2.x and 3.x, SQL injection can occur via user preferences. Rated critical severity (CVSS 9.8), this vulnerabil

CVE-2025-34031 HIGH POC
7.5 Jun 24

The Moodle LMS Jmol plugin version 6.1 and earlier contains a path traversal vulnerability in jsmol.php. The query param

CVE-2013-4341 MEDIUM POC
4.3 Sep 16

Multiple cross-site scripting (XSS) vulnerabilities in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, an

CVE-2016-9187 HIGH POC
8.8 Nov 04

Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remo

CVE-2016-9186 HIGH POC
8.8 Nov 04

Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows re

CVE-2018-14630 HIGH POC
8.8 Sep 17

moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional re

CVE-2018-1133 HIGH POC
8.8 May 25

An issue was discovered in Moodle 3.x. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low a

CVE-2026-123655 HIGH POC
7.5 Nov 06

Unauthenticated information disclosure in Moodle's H5P handling lets remote attackers read restricted content-bank mater

CVE-2016-7919 HIGH POC
7.5 Oct 28

Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified vectors, related to a "SQL Injectio

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy