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

Summary

CVECVE-2026-61532
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-18 19:18:06 UTC
Updated2026-11-19 21:45:02 UTC
DescriptionChamilo 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
3.1CNADECLARED9CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Chamilo Chamilo-lms affected < 1.11.40 Not specified
CNA Chamilo Chamilo-lms affected >= 2.0.0, < 2.0.3 Not specified

References

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report