Arbitrary file upload in Chamilo LMS - CVE-2026-32931

 

Arbitrary file upload in Chamilo LMS - CVE-2026-32931

Published: April 24, 2026


Vulnerability identifier: #VU127562
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-32931
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Chamilo
Affected software:
Chamilo LMS

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to unrestricted upload of file with dangerous type in the Exercise::updateSound() function in public/main/exercise/exercise.class.php when handling exercise sound uploads. A remote user can upload a PHP file with a spoofed Content-Type header to execute arbitrary code.

The uploaded file retains its original .php extension and is placed in a web-accessible directory.


How to mitigate CVE-2026-32931

Install security update from vendor's website.

Sources