# CVE-2026-33710: Chamilo LMS has Weak REST API Key Generation (Predictable)

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-04-10T18:59:24.111Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, REST API keys are generated using md5(time() + (user_id * 5) - rand(10000, 10000)). The rand(10000, 10000) call always returns exactly 10000 (min == max), making the formula effectively md5(timestamp + user_id*5 - 10000). An attacker who knows a username and approximate key creation time can brute-force the API key. This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.

(As written by CVE List.)

## Affected

- chamilo chamilo-lms: < 1.11.38; >= 2.0.0-alpha.1, < 2.0.0-RC.3
- chamilo chamilo_lms: before 1.11.38; 2.0.0

## References

- <https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39> (vendor-advisory)
- <https://github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c49c2d09> (patch)
- <https://github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d269a9a9d> (patch)

## Sources

- CVE List: [CVE-2026-33710](https://www.cve.org/CVERecord?id=CVE-2026-33710), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2026-33710](https://nvd.nist.gov/vuln/detail/CVE-2026-33710), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33710 · Whole record: https://cve.day/CVE-2026-33710.json · Rebuilt by cve.day 2026-11-25T22:59:18.540Z
