{"id":"CVE-2026-32892","summary":"OS Command Injection in Chamilo LMS 1.11.36","details":"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.","aliases":["GHSA-59cv-qh65-vvrr"],"modified":"2026-07-08T08:05:02.903455875Z","published":"2026-04-10T17:56:57.695Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32892.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32892.json"},{"type":"ADVISORY","url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32892"},{"type":"FIX","url":"https://github.com/chamilo/chamilo-lms/commit/3597b19b73d73d681e4fb503285e9bbfe71714bf"},{"type":"FIX","url":"https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chamilo/chamilo-lms","events":[{"introduced":"0"},{"fixed":"abb5547a46a96339dfe6079e9b7ecd329bca181a"},{"fixed":"3597b19b73d73d681e4fb503285e9bbfe71714bf"},{"fixed":"62671e5e268f235cddfba704edee90f35c234df1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.11.38"}],"cpe":"cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*","source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.11.36","v2.0.0-RC.2","v2.0.0-RC.1","v2.0.0-beta.3","v2.0.0-beta.1","v2.0.0-alpha.5","v2.0.0-alpha.4","v2.0.0-alpha.3","v1.11.32","v1.11.30","v1.11.30-rc.1","v2.0.0-alpha.2","v1.11.28","v2.0.0-alpha.1","v1.11.26","v1.11.26-rc.1","v1.11.24","v1.11.22","v1.11.22-beta.2","v1.11.22-beta.1","v1.11.20-beta.1","v1.11.20","v1.11.18","v1.11.14","v1.11.14-beta.1","v1.11.12","v1.11.10","v1.11.6","v1.11.6-alpha.1","v1.9.8","CHAMILO_1_9_6_STABLE","CHAMILO_1_9_6_RC_2","CHAMILO_1_9_6_RC_1","CHAMILO_1_9_4_STABLE","CHAMILO_1_9_4_RC_1","CHAMILO_1_9_4_ALPHA_1","CHAMILO_1_9_2_STABLE_QUARTER","CHAMILO_1_9_2_STABLE","CHAMILO_1_9_0_STABLE_3","CHAMILO_1_9_0_STABLE_2","CHAMILO_1_9_0_RC_1","CHAMILO_1_8_8_4_STABLE","CHAMILO_1_9_0_ALPHA_4","CHAMILO_1_9_0_ALPHA_2","CHAMILO_1_9_0_ALPHA_1","CHAMILO_1_9_0_PRE_ALPHA","CHAMILO_1_8_8.3_STABLE_4","CHAMILO_1_8_8_2_STABLE_2","CHAMILO_1_8_8_2_STABLE","CHAMILO_1_8_8_2_RC_1","CHAMILO_1_8_8_BETA_2","CHAMILO_1_8_8_BETA_1","CHAMILO_1_8_8_ALPHA","CHAMILO_1_8_7_STABLE_BIS","CHAMILO_1_8_7_STABLE","CHAMILO_1_8_7_RC2","CHAMILO_1_8_7_RC_1","CHAMILO_1_8_7_ALPHA_2","CHAMILO_1_8_7_ALPHA_1","v1.8.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32892.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}