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…

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 role can escalate their privileges to ROLE_ADMIN by modifying the roles field on their own user record due to insufficient authorization checks. This vulnerability allows full administrative control over the platform, including access to all courses, user data, grades, and administrative settings. The issue has been fixed in version 2. 0. 0-RC. 3.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 22:16:48 UTC

Technical Analysis

Chamilo LMS, an open-source learning management system, has a privilege escalation vulnerability (CVE-2026-40291) in versions before 2.0.0-RC.3. The PUT /api/users/{id} API endpoint improperly allows authenticated users with the ROLE_STUDENT role to modify their own roles field because the security check only verifies record ownership and does not restrict writable fields. This enables escalation to ROLE_ADMIN, granting full administrative privileges. The vulnerability stems from the API Platform's is_granted('EDIT', object) expression not restricting role modifications and the roles field being included in the writable serialization group. The vulnerability has been addressed in version 2.0.0-RC.3.

Potential Impact

Successful exploitation grants an attacker full administrative control of the Chamilo LMS platform. This includes unauthorized access to all courses, user data, grades, and administrative settings, potentially compromising the confidentiality, integrity, and availability of the system and its data. The CVSS v3.1 score is 8.8 (high severity), reflecting network attack vector, low complexity, required privileges of a student user, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available in Chamilo LMS version 2.0.0-RC.3. Users and administrators should upgrade to this version or later to remediate the vulnerability. Until the upgrade is applied, restricting access to the affected API endpoint or implementing additional access controls may mitigate risk, but the official fix is the recommended remediation.

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/14/2026, 10:16:48 PM

Last updated: 4/14/2026, 11:03:59 PM

Views: 3

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