# CVE-2026-32892: Chamilo LMS OS command injection in file move function

Source: https://junglewise.ai/threats/cve-2026-32892-chamilo-lms-os-command-injection-in-file-move-function  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-10. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2026-32892 · Severity: critical · CVSS 9.1 · Published 2026-04-10

Chamilo LMS, a popular open-source learning management system, contains a critical security flaw in its file management system. An attacker with teacher-level permissions can execute malicious commands on the underlying server, potentially leading to a full system takeover. This could result in the theft of sensitive student data, modification of grades, or the installation of ransomware.

## Quick answers

**Is CVE-2026-32892 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32892 being exploited in the wild.

**How severe is CVE-2026-32892?** Critical severity, with a CVSS score of 9.1, published 10 April 2026.

**Which products and versions are affected?** Chamilo Chamilo LMS < 1.11.38, < 2.0.0-RC.3.

**Is there a fix for CVE-2026-32892?** A patch was published on 2026-04-10. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-32892 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-32892?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An OS command injection vulnerability exists in Chamilo LMS prior to versions 1.11.38 and 2.0.0-RC.3. The root cause is the improper neutralization of user-controlled input in the move() function within fileManage.lib.php, which passes path values directly to exec() shell commands without using escapeshellarg(). An attacker can exploit this by uploading a directory with shell metacharacters in its name (e.g., via the Course Backup Import feature) and then moving a document into that directory. This triggers the execution of arbitrary commands as the web server user (www-data). While the vulnerability requires authentication, Chamilo's default configuration allows any user to create courses and become a teacher, making the flaw widely accessible. The issue is resolved by implementing proper shell argument escaping or replacing shell-based file operations with native PHP functions.

## Affected products

- Chamilo Chamilo LMS < 1.11.38, < 2.0.0-RC.3

## Timeline

- 2026-04-10: disclosed
- 2026-04-10: advisory
- 2026-04-10: patched

## References

- [https://github.com/chamilo/chamilo-lms/commit/3597b19b73d73d681e4fb503285e9bbfe71714bf](https://github.com/chamilo/chamilo-lms/commit/3597b19b73d73d681e4fb503285e9bbfe71714bf)
- [https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1](https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1)
- [https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr](https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr)
