All vulnerabilities

Servers and applications

CVE-2026-61786

Unrestricted switch_user impersonation (< 2.0.3)

Severity
Critical 9.8
Published
4 Aug 2026
Last changed
16 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.0.3
Weakness
Incorrect privilege assignment (CWE-266)Improper privilege management (CWE-269)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-35wp-xr4v-jg99
Sources
Project advisories (GitHub)

Description

Unrestricted switch_user impersonation — the Symfony firewall enables switch_user platform-wide and grants ROLE_ALLOWED_TO_SWITCH to ROLE_SESSION_MANAGER/ROLE_HR, with no restriction on the target user's privilege. The newly self-granted session-admin can therefore impersonate any account, including a global admin, via GET /?_switch_user=.

  • Type: improper privilege management / unrestricted impersonation (CWE-269/CWE-266).
  • Result of the chain: a privileged attacker obtains global-administrator control of the platform — confidentiality, integrity, and availability compromise of Chamilo and all hosted data.
  • Standalone severity:
  • any ROLE_SESSION_MANAGER/ROLE_HR account → global admin (vertical escalation defeating the role hierarchy).
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