
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-61578 is an arbitrary file deletion vulnerability (path traversal / unvalidated input to unlink()) in the cleandeletedfiles plugin shipped with Chamilo LMS. The flaw affects all 1.11.x releases prior to 1.11.40 and version 2.0.0. It was discovered by researcher Mathieu Farrell (credited to QbVulnReport), disclosed via a GitHub Security Advisory on July 7, 2026, and published to NVD on November 18, 2026. It carries a CVSS v4.0 base score of 7.0 (High) (GitHub Advisory, Feedly).
The root cause is improper limitation of a pathname to a restricted directory (CWE-22) combined with external control of file name or path (CWE-73). The vulnerable AJAX endpoints — plugin/cleandeletedfiles/src/ajax.php (1.11.x) and public/plugin/CleanDeletedFiles/src/ajax.php (2.0.0) — pass the user-supplied path and list request parameters directly to PHP's unlink() function without canonicalization, filename validation, or confinement to the plugin's intended scan directories (app/courses, app/upload). Exploitation requires an authenticated administrator session, but a cross-site request forgery (CSRF) attack against an active admin session can bypass this requirement, lowering the effective barrier. The fix (commit 7521206) introduces a cleanDeletedFilesResolvePath() function that uses realpath(), enforces a DELETED-in-filename requirement, and restricts deletions to allowed base directories (GitHub Advisory, Fix Commit).
A successful exploit allows an authenticated administrator — or any attacker who can forge a request against an admin session via CSRF — to delete arbitrary files writable by the web server process. Targeted files can include application source code, uploaded course content, cache files, and configuration files, resulting in data loss and denial of service. While confidentiality impact is assessed as none (no data is read or exfiltrated), integrity and availability are both rated High, as critical application files can be permanently destroyed (GitHub Advisory, Feedly).
No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been identified as of the time of this report. The EPSS score is 0.0, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires either a valid administrator account or a successful CSRF attack against an active admin session, which moderately limits opportunistic exploitation. The vulnerability was covered in a Quarkslab blog post discussing multiple Chamilo LMS security issues, which may increase researcher and attacker awareness (Feedly, Quarkslab Blog).
cleandeletedfiles plugin enabled, using web fingerprinting tools or by checking publicly accessible version indicators.app/config/configuration.php, a .htaccess file, or application source files).plugin/cleandeletedfiles/src/ajax.php (1.11.x) or public/plugin/CleanDeletedFiles/src/ajax.php (2.0.0) with the action parameter set to delete-file and the path parameter set to the target file's absolute path (e.g., a=delete-file&path=/var/www/chamilo/app/config/configuration.php).unlink() on the supplied path, permanently deleting the file. Deleting configuration or source files can render the application inoperable or expose it to further attacks (GitHub Advisory, Fix Commit).plugin/cleandeletedfiles/src/ajax.php or public/plugin/CleanDeletedFiles/src/ajax.php with a=delete-file or a=delete-files-list actions and path or list parameters containing absolute paths outside the plugin's normal scan directories.configuration.php), source files, or other sensitive locations; unusual admin activity at odd hours.app/config/configuration.php, .htaccess, or application source files; missing uploaded course content or cache files that were not intentionally deleted.Upgrade Chamilo LMS to version 1.11.40 on the 1.11 release line, which includes the fix that adds path validation, realpath() canonicalization, a DELETED-in-filename requirement, and confinement to allowed directories (app/courses, app/upload). No fixed release exists for the 2.0.0 branch as of the advisory publication date — users on 2.0.0 should monitor the official repository for a patch. As a temporary workaround, administrators can disable or remove the cleandeletedfiles plugin entirely, or restrict web server write permissions to limit the scope of files that could be deleted. Additionally, implementing a web application firewall (WAF) rule to block requests to the plugin's AJAX endpoint from non-administrative IP ranges can reduce CSRF exposure (GitHub Advisory, v1.11.40 Release, Fix Commit).
Quarkslab published a blog post covering multiple Chamilo LMS vulnerabilities (titled "It's Raining 0days"), which brought broader attention to this and related issues in the platform (Quarkslab Blog). The vulnerability was also picked up in The Hacker News weekly recap and aggregated by several security intelligence feeds, indicating moderate community interest. No significant vendor statements beyond the GitHub Security Advisory have been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."