# GHSA-6QWH-9M43-GX3Q: Path Traversal / Arbitrary Directory Creation through audio recording feature (\< 1.11.40)

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-07-08
- Modified: 2026-09-16

## Tracked as

- [CVE-2026-61584](https://cve.now/CVE-2026-61584.md): Chamilo LMS arbitrary directory creation in audio recording feature

## Affected versions

- chamilo/chamilo-lms (Packagist): through 1.11.38

## Description

### Summary

`main/inc/ajax/record_audio_rtc.ajax.php` in Chamilo LMS 1.11.36 concatenates the user-controlled `audio_dir` parameter with the course document root and calls `mkdir(..., true)` with no path normalization, allowing any authenticated course user to create arbitrary directories (writable by the web server) outside the intended course storage area.

### Impact

- Vulnerability class: Path Traversal / Arbitrary Directory Creation.
- Required privileges: authenticated course user (student).
- Affected version: Chamilo LMS 1.11.36.
- Consequence: Creation of attacker-chosen directories writable by the web server anywhere reachable from the course document base. Useful as a primitive to stage follow-on arbitrary file-write or code-execution exploits and to interfere with filesystem layout.

### Author

- Mathieu Farrell

## References

- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-6qwh-9m43-gx3q

Page: https://cve.now/GHSA-6QWH-9M43-GX3Q
