Path traversal in Chamilo LMS CourseRestorer allows arbitrary file write
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Chamilo LMS versions before 1.11.40 and from 2.0.0 before 2.0.3 do not consistently confine paths taken from an imported legacy course backup to the extraction directory in CourseRestorer. A course teacher can import a crafted backup with parent-directory path segments, so files are written outside the intended destination, including PHP-executable or automatically loaded locations (CWE-22). This lets an authenticated course teacher with low privileges, through user interaction, execute code as the PHP process.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade chamilo-lms to 1.11.40 for the 1.x branch and to 2.0.3 for the 2.x branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA chamilo-lms (chamilo) Fixed in 1.11.40, 2.0.3
Timeline
- 2026-11-18 Threatist record created from CVE-2026-61532
- 2026-11-19 CISA SSVC decision points changed
References
Other 6
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr
- https://github.com/chamilo/chamilo-lms/pull/8569
- https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8
- https://github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1bbcba15
- https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40
- https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3
More chamilo vulnerabilities
- TI-2025-32070 Chamilo: Evaluation of untrusted user input leads to Remote Code Execution CVSS 3.1CRITICAL 9.8
- TI-2023-17452 A command injection vulnerability in the wsConvertPpt component of Chamilo v1.11.* up to… CVSS 3.1CRITICAL 9.8
- TI-2025-32081 Deserialization of untrusted data in chamilo-lms CVSS 4.0HIGH 8.8
- TI-2024-32140 Chamilo: Post-Auth Remote Code Execution CVSS 4.0HIGH 8.7
- TI-2023-03907 Chamilo LMS Unauthenticated Big Upload File Remote Code Execution CVSS 3.1HIGH 8.1
- TI-2025-32595 Chamilo: Stored XSS Vulnerability via CSV User Import CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences