Skip to main content

Chamilo LMS EUVDEUVD-2026-129095

| CVE-2026-61578 HIGH
Path Traversal (CWE-22)
2026-11-18 GitHub_M
7.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Hold admin session or lure admin via CSRF
  2. Delivery
    POST to cleandeletedfiles ajax.php delete branch
  3. Exploit
    Unvalidated path/list passed to unlink()
  4. Execution
    Arbitrary web-writable files deleted
  5. Impact
    Data loss and denial of service

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 that the optional 'cleandeletedfiles' plugin be installed and enabled on the Chamilo instance, and that the request reach plugin/cleandeletedfiles/src/ajax.php (or public/plugin/CleanDeletedFiles/src/ajax.php in 2.0.0) in its delete-file or delete-files-list branch. The endpoint is gated by api_protect_admin_script(), so the attacker must either hold an authenticated administrator session (PR:H) or successfully land a cross-site request forgery against a logged-in administrator - the plugin has no CSRF token, which is what makes the CSRF path viable. Limiting factors that reduce real-world risk: administrator-level trust (or a social-engineering step to drive an admin to a malicious page), the non-default requirement that this specific plugin be active, and the fact that only files writable by the web-server user can be deleted.

Impact

Signals are moderate and mutually consistent rather than alarming. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VI:H/VA:H, score 7.0) describes a network-reachable, low-complexity flaw whose single real gate is PR:H - a fully authenticated Chamilo administrator. That high privilege requirement is the dominant risk limiter: the actor already holds the most trusted role, so the vulnerability mainly converts admin access (or a tricked admin via CSRF) into destructive file deletion rather than granting new access. No EPSS probability was supplied and the CVE is not in CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week', i.e. a prioritize-but-not-emergency posture. No working exploit code is provided - only a detailed source-level advisory. Impact is confined to integrity/availability (VC:N, SC:N/SI:N/SA:N): there is no confidentiality loss and no scope change to other systems. Net: a legitimately high-severity data-destruction bug that is a maintenance-window priority for exposed Chamilo installs running the plugin, not a drop-everything internet-wide emergency. Missing-data caveat: EPSS and POC status are absent from the input, so likelihood of opportunistic exploitation cannot be quantified; the CSRF vector slightly widens reach because it does not require the attacker to already hold admin credentials, only to lure a logged-in admin.

Exploit ScenarioDerived

An authenticated Chamilo administrator - or an external attacker who lures a logged-in admin into visiting a malicious page (CSRF) - issues a request to the cleandeletedfiles plugin's AJAX endpoint with a crafted path or list parameter. Because that value is passed straight to unlink() with no canonicalization or directory confinement, any file writable by the web server (application source, uploads, cache, configuration) is deleted, producing data loss and denial of service. No working public exploit code is identified at time of analysis, though the advisory documents the vulnerable code paths precisely.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Arbitrary file deletion in the optional 'cleandeletedfiles' plugin shipped with Chamilo LMS: prior to 1.11.40 on the 1.11 line (confirmed vulnerable in 1.11.36 and 1.11.38) and in 2.0.0, the plugin's ajax.php passes the request 'path' and each item of 'list' straight to unlink() with no canonicalization or directory confinement. The endpoint is gated by api_protect_admin_script(), so an authenticated administrator - or a cross-site request forgery against a logged-in administrator, since the plugin carries no CSRF token - can delete any file writable by the web-server user, including sources, uploads, cache and configuration, causing data loss and denial of service. Exploitation requires the non-default plugin to be installed and enabled; no public exploit code was identified at time of analysis, and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to Chamilo LMS 1.11.40 (https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40), which applies the upstream fix commit 7521206e287fabd5f68d110fcaef63d64174e36e adding canonicalization, a 'DELETED' filename requirement and confinement to app/courses and app/upload; the advisory is at https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-39qq-f7xc-9w6q. No fixed 2.0 release is established as of this review, so 2.0.0 deployments should disable or remove the 'cleandeletedfiles' plugin (deleting or renaming public/plugin/CleanDeletedFiles/) until a patched 2.0 build is published - this removes the deletion feature entirely but also eliminates the CSRF-reachable delete branch. Where the plugin must stay active on an unpatched instance, restrict access to plugin/cleandeletedfiles/src/ajax.php (or public/plugin/CleanDeletedFiles/src/ajax.php) at the web server to trusted administrative source addresses, noting this breaks the plugin's AJAX UI for administrators outside those ranges, and reduce the blast radius by running the web-server user with write access only to the app/courses and app/upload trees while keeping application source and configuration read-only to that account. Patch status summary: 1.11 line fixed in 1.11.40; 2.0.0 has no vendor-released patch identified at time of analysis.

Affected VersionsENISA

chamilo-lms 2.0.0, ≤ 2.0.0
chamilo-lms < 1.11.40

Affected Packages

euvd chamilo_lms fix: 1.11.40

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is CWE-22 (path traversal) expressed as an unvalidated-input-to-unlink primitive in PHP. Both plugin/cleandeletedfiles/src/ajax.php (1.11 line) and public/plugin/CleanDeletedFiles/src/ajax.php (2.0.0) contain a 'delete-file' branch calling unlink($_REQUEST['path']) and a 'delete-files-list' branch iterating $_REQUEST['list'] and calling unlink() on each raw value; the only guard is api_protect_admin_script(), with no realpath() canonicalization, no filename validation and no restriction to the directories the plugin is meant to scan. The upstream commit 7521206e287fabd5f68d110fcaef63d64174e36e adds a cleanDeletedFilesResolvePath() helper that strips a 'file://' prefix, resolves the path with realpath(), rejects anything that is not a regular file, requires the basename to contain 'DELETED', and confines the resolved path to app/courses or app/upload before unlinking. Because the handler authenticates only via the admin session guard and performs no token check, the same delete operation is reachable through cross-site request forgery from an administrator's browser; the impact is bounded by the filesystem permissions of the web-server user. The CPE cpe:2.3:a:chamilo:chamilo-lms:*:*:*:*:*:*:*:* reflects that the advisory is scoped to the product as a whole while the vulnerable code lives in a bundled plugin.

Know when Chamilo Lms 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 (GitHub_M) PRIMARY 7.0 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network endpoint reachable with low complexity but gated by api_protect_admin_script(), so PR:H; file deletion harms integrity and availability (I:H/A:H) with no disclosure (C:N).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 19:03 EUVD
CVE Published
Nov 18, 2026 - 18:21 cve.org
HIGH 7.0

DescriptionCVE.org

Chamilo LMS is an open-source learning management system. Prior to 1.11.40 on the 1.11 release line and in 2.0.0, plugin/cleandeletedfiles/src/ajax.php and public/plugin/CleanDeletedFiles/src/ajax.php pass the request path parameter and list parameter directly to unlink without canonicalization, filename validation, or confinement to the plugin's scanned directories. An authenticated administrator can delete arbitrary files writable by the web server; a cross-site request forgery against an administrator session can reach the same operation. Deleting application source, uploaded content, cache, or configuration files can cause data loss and denial of service. This issue is fixed in version 1.11.40 on the 1.11 release line. No fixed 2.0 release is established as of this review.

Technical POC Analysis

CWE-22 (path traversal) leading to arbitrary file deletion in the optional cleandeletedfiles plugin shipped inside the Chamilo LMS first-party codebase (composer package chamilo/chamilo-lms).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-61578 is a HIGH-severity arbitrary file deletion vulnerability in the optional 'cleandeletedfiles' plugin for Chamilo LMS, affecting versions before 1.11.40 on the 1.11 line and 2.0.0. Only organizations with this non-default plugin installed and enabled are exposed; an authenticated administrator or a CSRF attack against a logged-in admin could delete critical files, causing data loss and denial of service. Leadership should care because successful exploitation could disrupt learning operations and erase sensitive course materials, but exposure is limited to those who have chosen to deploy the plugin.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable or remove the non-default 'cleandeletedfiles' plugin; restrict access to the plugin's ajax.php endpoint via network ACLs or web-server rules; deploy CSRF protections at the reverse proxy; limit administrator privileges to essential personnel; maintain offline backups to enable recovery from file deletion.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Low
niche education-sector LMS; vulnerable cleandeletedfiles plugin not a default component
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-50187 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.

CVE-2025-50192 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex

CVE-2025-50190 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.

CVE-2021-35414 CRITICAL POC
9.8 Dec 03

Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload

CVE-2019-13082 CRITICAL POC
9.8 Jun 30

Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra

CVE-2025-50199 CRITICAL POC
9.1 Mar 02

Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p

CVE-2023-4220 MEDIUM POC
6.1 Nov 28

Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C

CVE-2025-50189 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. [CVSS 8.8 HIGH]

CVE-2025-52468 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi

CVE-2024-30616 HIGH POC
8.8 Nov 04

Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi

CVE-2023-4226 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit

CVE-2023-4225 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers

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