Skip to content

CVE-2026-32892 OS Command Injection in Chamilo LMS 1.11.36

HighCVSS 8.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

Description

Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, Chamilo LMS contains an OS Command Injection vulnerability in the file move function. The move() function in fileManage.lib.php passes user-controlled path values directly into exec() shell commands without using escapeshellarg(). When a user moves a document via document.php, the move_to POST parameter — which only passes through Security::remove_XSS() (an HTML-only filter) — is concatenated directly into shell commands such as exec("mv $source $target"). By default, Chamilo allows all authenticated users to create courses (allow_users_to_create_courses = true). Any user who is a teacher in a course (including self-created courses) can move documents, making this vulnerability exploitable by any authenticated user. The attacker must first place a directory with shell metacharacters in its name on the filesystem (achievable via Course Backup Import), then move a document into that directory to trigger arbitrary command execution as the web server user (www-data). This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
chamilo lms < 1.11.38; = 2.0.0-alpha1; = 2.0.0-alpha2; = 2.0.0-alpha3 +7 more 1.11.38 Fixed
chamilo/chamilo-lms = < 1.11.38; = >= 2.0.0-alpha.1, < 2.0.0-RC.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
chamilo/chamilo-lms = < 1.11.38 No fix listed
chamilo/chamilo-lms = >= 2.0.0-alpha.1, < 2.0.0-RC.3 No fix listed
chamilo lms < 1.11.38 1.11.38
chamilo lms = 2.0.0-alpha1 No fix listed
chamilo lms = 2.0.0-alpha2 No fix listed
chamilo lms = 2.0.0-alpha3 No fix listed
chamilo lms = 2.0.0-alpha4 No fix listed
chamilo lms = 2.0.0-alpha5 No fix listed
chamilo lms = 2.0.0-beta1 No fix listed
chamilo lms = 2.0.0-beta2 No fix listed
chamilo lms = 2.0.0-beta3 No fix listed
chamilo lms = 2.0.0-rc1 No fix listed
chamilo lms = 2.0.0-rc2 No fix listed

References