Path traversal in Chamilo LMS - CVE-2026-61603
Published: August 4, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to path traversal in the Moodle course import handler in public/main/inc/lib/MoodleImport.php when extracting a crafted .mbz archive. A remote user can upload a crafted backup archive containing path-traversal entries to write files to arbitrary server locations and execute arbitrary code.
Exploitation requires teacher-level access with course import capability, and code execution occurs as the web server user.