CVE-2026-61584: Chamilo LMS: Path Traversal / Arbitrary Directory Creation through audio recording feature
Chamilo LMS is an open-source learning management system. Prior to 1.11.40, main/inc/ajax/recordaudiortc.ajax.php concatenates the user-controlled audiodir parameter with the course document root and passes the result to recursive directory creation without path normalization. An authenticated course user can select directory paths outside the intended course storage tree wherever the web-server account has permission to create directories. The resulting filesystem changes can interfere with application layout or support a separate file-write or code-execution chain, although this endpoint alone is not shown to write attacker-selected file content outside the course tree. This issue is fixed in version 1.11.40.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.11.40