Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain account with question-import capability
-
DeliveryCraft Blackboard import referencing ../../config.php
-
ExploitSubmit import to question bank
-
ExecutionFile copied into draft area
-
ImpactDownload 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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.
Primary rating from Vendor (fedora).
CVSS VectorVendor: fedora
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell
A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. Rated critical severi
A flaw was found in Moodle. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticatio
In Moodle 2.x and 3.x, SQL injection can occur via user preferences. Rated critical severity (CVSS 9.8), this vulnerabil
The Moodle LMS Jmol plugin version 6.1 and earlier contains a path traversal vulnerability in jsmol.php. The query param
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
Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remo
Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows re
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
An issue was discovered in Moodle 3.x. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low a
Unauthenticated information disclosure in Moodle's H5P handling lets remote attackers read restricted content-bank mater
Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified vectors, related to a "SQL Injectio
EUVD-2026-130333
GHSA-fr4r-wph8-xrxh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB