All vulnerabilities

Servers and applications

CVE-2026-31939

Path Traversal (Arbitrary File Delete) (<=1.11.36)

Severity
High 8.3
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.11.38
Exploit chance
0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)CWE-73
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Also known as
GHSA-8q8c-v75x-q2hx
Sources
NVD, Project advisories (GitHub)

Description

  • Vulnerability type: Path Traversal leading to Arbitrary File Deletion
  • Affected product: Chamilo LMS
  • Affected version: 1.11.36 (and likely prior versions with same logic)
  • Affected file: /chamilo-lms-1.11.36/main/exercise/savescores.php
  • Severity: High
  • CWE: CWE-22 (Path Traversal), CWE-73 (External Control of File Name or Path)
  • No validation against ../ traversal sequences
  • No realpath() boundary check
  • No call to Security::check_abs_path() / Security::check_rel_path()
  • Deletion is performed by my_delete() (unlink() / recursive directory deletion path)

Affected delete function:

  • /chamilo-lms-1.11.36/main/inc/lib/fileManage.lib.php

An authenticated user in course context can delete files outside the intended course document directory, depending on web server filesystem permissions.

  • Confirmed impact in lab: deletion of file at /var/www/html/app/secret_1.t.html
  • This is delete, not direct file read

In /chamilo-lms-1.11.36/main/exercise/savescores.php:

From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms
  • Every version before 1.11.38
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version before 1.11.38

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

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31939
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31939
  • GitHub Advisory Database https://github.com/advisories/GHSA-8q8c-v75x-q2hx
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-8q8c-v75x-q2hx