Arbitrary file upload in Chamilo LMS - CVE-2026-32931
Published: April 24, 2026
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.