All vulnerabilities

Servers and applications

CVE-2026-61538

PHP Object Injection (insecure deserialization) → RCE via course-backup diagnose endpoint (ROLE_TEACHER) (<2.0.3)

Severity
Critical 9.9
Published
4 Aug 2026
Last changed
16 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3
Weakness
Code injection (CWE-94)Deserialization of untrusted data (CWE-502)
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-2369-h4gx-5mfx
Sources
Project advisories (GitHub)

Description

The course-backup diagnose endpoint deserializes attacker-controlled bytes from an uploaded backup's course_info.dat with unserialize(..., ['allowed_classes' => true]) — no class allow-list. A ROLE_TEACHER user can upload a crafted backup ZIP and trigger a PHP Object Injection (POP gadget chain) that results in Remote Code Execution on the server. The bundled guzzlehttp/psr7 and monolog/monolog packages provide ready-made RCE gadget chains (e.g. phpggc Guzzle/RCE1). (CWE-502 → CWE-94.)

Remote Code Execution as the web-server user from a single ROLE_TEACHER account: full server/platform compromise (read .env DB/secret credentials, drop a webshell, pivot, tamper with or exfiltrate all data). Reachable over GET+POST with no plugin dependency. If self-registration as teacher is enabled, this chains to anonymous → RCE.

Note by Chamilo team: self-registration as teacher is disabled by default and portals allowing it are rare as it introduces much more moderation complexity.

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