Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 83%

CVE-2026-40291: CWE-269: Improper Privilege Management in chamilo chamilo-lms

0
High
VulnerabilityCVE-2026-40291cvecve-2026-40291cwe-269cwe-863
Published: Tue Apr 14 2026 (04/14/2026, 21:37:55 UTC)
Source: CVE Database V5
Vendor/Project: chamilo
Product: chamilo-lms

Description

Chamilo LMS versions prior to 2. 0. 0-RC. 3 contain an improper privilege management vulnerability in the PUT /api/users/{id} endpoint. Authenticated users with the ROLE_STUDENT can escalate their privileges to ROLE_ADMIN by modifying the roles field on their own user record. This is due to insufficient authorization checks and the roles field being writable. Exploitation grants full administrative control over the platform, including access to all courses, user data, grades, and administrative settings. The vulnerability has been fixed in version 2. 0. 0-RC.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:48:24 UTC

Technical Analysis

CVE-2026-40291 is an improper privilege management vulnerability (CWE-269) in chamilo-lms versions before 2.0.0-RC.3. The PUT /api/users/{id} endpoint allows authenticated users with the ROLE_STUDENT to escalate privileges to ROLE_ADMIN by modifying the roles field on their user record. The API Platform security expression only verifies ownership (is_granted('EDIT', object)) but does not restrict modification of the roles field, which is included in the writable serialization group. This flaw enables any student user to assign themselves administrative roles, resulting in full platform control. The issue is resolved in version 2.0.0-RC.3.

Potential Impact

Successful exploitation allows a low-privileged authenticated user (ROLE_STUDENT) to gain full administrative privileges (ROLE_ADMIN). This grants complete control over the Chamilo LMS platform, including access to all courses, user data, grades, and administrative settings. The vulnerability poses a high risk to confidentiality, integrity, and availability of the system.

Mitigation Recommendations

Upgrade Chamilo LMS to version 2.0.0-RC.3 or later, where this vulnerability is fixed. Patch status is not explicitly stated beyond the fixed version, so verify with the vendor advisory for the latest remediation guidance. Until upgraded, restrict access to the API endpoint and review user role assignment processes to prevent unauthorized role modifications.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T20:22:44.035Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69deb97082d89c981f0b1a56

Added to database: 4/14/2026, 10:02:24 PM

Last enriched: 4/22/2026, 6:48:24 AM

Last updated: 5/29/2026, 7:07:03 PM

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses