CVE-2026-61532 PUBLISHED

Chamilo LMS: ZIP Slip / Path Traversal in CourseRestorer leads to arbitrary file write and RCE by any course teacher

Assigner: GitHub_M
Reserved: 10.07.2026 Published: 18.11.2026 Updated: 19.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS Score: 9

Product Status

Vendor chamilo
Product chamilo-lms
Versions
  • Version < 1.11.40 is affected
  • Version >= 2.0.0, < 2.0.3 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory CWE
  • CWE-73: External Control of File Name or Path CWE
  • CWE-94: Improper Control of Generation of Code CWE