CVE-2026-61532
9.0CriticalPublished 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-22, CWE-73, CWE-94
What an attacker gets
Authenticated course teachers can achieve remote code execution by uploading a crafted course backup. This allows them to overwrite arbitrary files on the server and compromise the entire host.
Root cause
The application fails to sanitize path segments in imported course backups, allowing directory traversal during file extraction.
Affected versions
Chamilo LMS versions prior to 1.11.40 and 2.0.3.
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade to Chamilo LMS 1.11.40 or 2.0.3. Until patched, restrict course import permissions to trusted users only.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8
- https://github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1bbcba15
- https://github.com/chamilo/chamilo-lms/pull/8569
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr