All vulnerabilities

Servers and applications

CVE-2026-33706

REST API Self-Privilege Escalation (Student → Teacher) (<=1.11.36)

Severity
High 7.1
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.11.38
Exploit chance
0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper privilege management (CWE-269)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Also known as
GHSA-3gqc-xr75-pcpw
Sources
NVD, Project advisories (GitHub)

Description

Any authenticated user with a REST API key can modify their own status field via the update_user_from_username endpoint. A student (status=5) can change their status to Teacher/CourseManager (status=1), gaining course creation and management privileges.

Affected code: main/inc/lib/webservices/Rest.php (Lines 2690-2810)

The updateUserFromUserName() method checks authorization at line 2710:

This allows any user to modify their own profile. The method then sets sensitive fields without value validation:

The developers acknowledged this risk with a TODO at line 2688:

In Chamilo: status=1 = Teacher/CourseManager, status=5 = Student.

  • Student can become Teacher/CourseManager
  • Can create courses, manage course content, grade students
  • Can modify own auth_source, roles, active, enabled, and 25+ other sensitive fields
  • Breaks the trust model where only administrators should assign Teacher roles
From chamilo/chamilo-lms's security advisory.

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-33706
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-33706
  • GitHub Advisory Database https://github.com/advisories/GHSA-3gqc-xr75-pcpw
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-3gqc-xr75-pcpw