Read the docs

Path traversal in Chamilo LMS CourseRestorer allows arbitrary file write

Priority MEDIUM 42CWE-22Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00663 46th percentileScored 2026-11-30
Fix Fixed chamilo-lms (chamilo): 1.11.40, 2.0.3

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

VendorProductAffected versionsFixed inStatusSource
chamilochamilo-lmsbefore 1.11.40; 2.0.0 to before 2.0.31.11.40, 2.0.3Patch availableCNA
  • chamilo-lms Vendorchamilo Affected before 1.11.40; 2.0.0 to before 2.0.3 Fixed in 1.11.40, 2.0.3 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*——chamilo
  • cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:* Versions — — ·chamilo

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

  1. 2026-11-18 Threatist record created from CVE-2026-61532
  2. 2026-11-19 CISA SSVC decision points changed

References

  • 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
See all 173 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences