Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHold admin session or lure admin via CSRF
-
DeliveryPOST to cleandeletedfiles ajax.php delete branch
-
ExploitUnvalidated path/list passed to unlink()
-
ExecutionArbitrary web-writable files deleted
-
ImpactData 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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
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.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
EUVD-2026-129095
NVD
CVE.org
EPSS
GitHub
Exploit-DB