Chamilo LMS: ZIP Slip / Path Traversal in CourseRestorer leads to arbitrary file write and RCE by any course teacher
Summary
| CVE | CVE-2026-61532 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-18 19:18:06 UTC |
| Updated | 2026-11-19 21:45:02 UTC |
| Description | Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.3, src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php and src/CourseBundle/Component/CourseCopy/CourseRestorer.php use paths supplied by an imported legacy course backup without consistently confining them to the extraction directory. A course teacher can import a crafted backup containing parent-directory path segments, causing file operations to write attacker-controlled content outside the intended destination, including PHP-executable or automatically loaded locations. This can result in code execution as the PHP process and compromise course data, user data, credentials, and the host. This issue is fixed in versions 1.11.40 and 2.0.3. |
Risk And Classification
Primary CVSS: v3.1 9 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS: 0.004130000 probability, percentile 0.363700000 (date 2026-11-21)
Problem Types: CWE-22 | CWE-73 | CWE-94 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory | CWE-73 CWE-73: External Control of File Name or Path | CWE-94 CWE-94: Improper Control of Generation of Code
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chamilo | Chamilo-lms | affected < 1.11.40 | Not specified |
| CNA | Chamilo | Chamilo-lms | affected >= 2.0.0, < 2.0.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2f... | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/releases/tag/v1.11.40 | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1b... | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/pull/8569 | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/releases/tag/v2.0.3 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.