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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-01)
- Published: 2026-04-10T17:56:57.695Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chamilo chamilo-lms: < 1.11.38; >= 2.0.0-alpha.1, < 2.0.0-RC.3
- chamilo chamilo_lms: before 1.11.38; 2.0.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr> (vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/3597b19b73d73d681e4fb503285e9bbfe71714bf> (patch)
- <https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1> (patch)

## Sources

- CVE List: [CVE-2026-32892](https://www.cve.org/CVERecord?id=CVE-2026-32892), CVE Terms of Use, modified 2026-04-14
- NVD: [CVE-2026-32892](https://nvd.nist.gov/vuln/detail/CVE-2026-32892), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-32892 · Whole record: https://cve.day/CVE-2026-32892.json · Rebuilt by cve.day 2026-11-25T22:59:18.533Z
