CVE Explorer
CVE-2026-40291
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, an insecure direct object modification vulnerability in the PUT /api/users/{id} endpoint allows any authenticated user with ROLE_STUDENT to escalate their privileges to ROLE_ADMIN by modifying the roles field on their own user record. The API Platform security expression is_granted('EDIT', object) only verifies record ownership, and the roles field is included in the writable serialization group, enabling
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-269","description":"CWE-269: Improper Privilege Management","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"chamilo-lms","vendor":"chamilo","versions":[{"status":"affected","version":"< 2.0-RC.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-269","description":"CWE-269: Improper Privilege Management","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3","tags":["x_refsource_MISC"],"url":"https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/references/1
{"name":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-7phx-w897-4c9x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-7phx-w897-4c9x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1910c273f2a64af5a6380ec5187d8766aa17fac1d8c4d60e5c2c78239448fb9d · sha256:7b1ac6dbe09e9521… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.