All vulnerabilities

Servers and applications

GHSA-4j89-qjx2-3wcr

Unauthenticated arbitrary resource file deletion via `delete_variant` endpoint (< 3.0.0)

Severity
Critical 9.1
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
3.0.0
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Sources
Project advisories (GitHub)

Description

Chamilo LMS 2.x exposes an unauthenticated endpoint that deletes ResourceFile entities by their numeric primary key:

The endpoint performs no authentication, authorization, ownership, tenant, CSRF, or resource-type validation. Despite being named delete_variant, it does not verify that the selected ResourceFile is an access-URL-specific variant. An unauthenticated attacker can therefore delete ordinary primary resource files as well as variants.

Deleting the entity makes the associated resource unavailable. The Vich uploader mapping also has delete_on_remove: true, causing the corresponding stored file to be deleted when Doctrine removes the entity.

An unauthenticated remote attacker can delete arbitrary Chamilo resource files. ResourceFile is shared by multiple LMS features, so affected content may include:

  • course documents;
  • personal files;
  • assignments and corrections;
  • message and forum attachments;
  • learning-path assets;
  • other resources stored through the common…
From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

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

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