OS Command Injection in Chamilo LMS 1.11.36
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32892
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:19 UTC · Revision 1
Source evidence
OS Command Injection in Chamilo LMS 1.11.36
core-osv · Original sourcePublished 10 Apr 2026, 17:56 UTC
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.
osv:CVE-2026-32892
Complete source record
{
"id": "88143721e57a7673b59005c14e74471bb654c53910293ac74be5f935b895d5b0",
"url": "https://osv.dev/vulnerability/CVE-2026-32892",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OS Command Injection in Chamilo LMS 1.11.36",
"summary": "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.",
"evidence": "osv:CVE-2026-32892",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-32892",
"aliases": [
"CVE-2026-32892",
"GHSA-59cv-qh65-vvrr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/chamilo/chamilo-lms",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "abb5547a46a96339dfe6079e9b7ecd329bca181a"
},
{
"fixed": "3597b19b73d73d681e4fb503285e9bbfe71714bf"
},
{
"fixed": "62671e5e268f235cddfba704edee90f35c234df1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.11.38"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3597b19b73d73d681e4fb503285e9bbfe71714bf"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "62671e5e268f235cddfba704edee90f35c234df1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:25.384802333Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32892.json",
"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr",
"https://nvd.nist.gov/vuln/detail/CVE-2026-32892",
"https://github.com/chamilo/chamilo-lms/commit/3597b19b73d73d681e4fb503285e9bbfe71714bf",
"https://github.com/chamilo/chamilo-lms/commit/62671e5e268f235cddfba704edee90f35c234df1"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32892.json"
}
},
"related_cves": [
{
"value": "CVE-2026-32892",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491850,
"published_at": "2026-04-10T17:56:57.695+00:00"
}