All vulnerabilities

Servers and applications

CVE-2026-54750

Unauthenticated/low-privilege PHP Local File Inclusion in CStudio plugin (cstudio_lang cookie) chained to arbitrary file write → Remote Code Execution (<2.0.3)

Severity
Critical 9.9
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)Code injection (CWE-94)PHP file inclusion (CWE-98)Cross-site request forgery (CWE-352)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-5vmm-46vr-72j8
Sources
Project advisories (GitHub)

Description

The bundled CStudio authoring plugin (public/plugin/CStudio/, aka "teachdoc"/"oel") contains a PHP Local File Inclusion: the cstudio_lang cookie is used, unsanitized, to build a path that is then required. Combined with (a) a project-import ZIP extractor that writes archive entries verbatim with no extension filter, (b) an upload endpoint that requires only any logged-in user (no role check), and (c) a CSRF helper that accepts the constant token -2 for anonymous requests, this yields Remote Code Execution. An authenticated teacher achieves full RCE in a single session; any low-privilege authenticated user (e.g. a self-registered student) achieves RCE by uploading while logged in and extracting/triggering anonymously; and unauthenticated attackers obtain arbitrary local-.php inclusion.

Precondition: the CStudio plugin (ships with Chamilo) must be installed and enabled by an administrator.

From chamilo/chamilo-lms's security advisory.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Every version 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