All vulnerabilities

Servers and applications

CVE-2026-61661

Authenticated path traversal in FileManagerController download endpoint allows arbitrary file read (< 2.0.3)

Severity
High 7.7
Published
4 Aug 2026
Last changed
4 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3
Weakness
Path traversal (CWE-22)Relative path traversal (CWE-23)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Also known as
GHSA-7jqm-3829-36cm
Sources
Project advisories (GitHub)

Description

The file-manager download endpoint in Chamilo LMS builds a filesystem path by directly concatenating the unsanitized {filename} route parameter and serves the resulting file with BinaryFileResponse. Any authenticated user (ROLE_USER) can supply a URL-encoded directory-traversal sequence to read arbitrary files outside the intended directory, including OS files and the application's own configuration (database credentials, APP_SECRET).

A low-privileged authenticated user can read any file readable by the web-server user, including:

  • OS files (/etc/passwd, /proc/self/environ, SSH keys if readable).
  • Chamilo configuration and .env — disclosing database credentials and APP_SECRET.

Disclosure of APP_SECRET and database credentials enables follow-on attacks (session/CSRF token forgery, direct DB access), so the practical impact extends beyond confidentiality of a single file toward broader compromise of the instance.

From chamilo/chamilo-lms's security advisory.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • From 2.0.0 before 2.0.3

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References