CVE-2026-33710 PUBLISHED

Chamilo LMS has Weak REST API Key Generation (Predictable)

Assigner: GitHub_M
Reserved: 23.03.2026 Published: 10.04.2026 Updated: 10.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 7.5

Product Status

Vendor chamilo
Product chamilo-lms
Versions
  • Version < 1.11.38 is affected
  • Version >= 2.0.0-alpha.1, < 2.0.0-RC.3 is affected

References

Problem Types

  • CWE-330: Use of Insufficiently Random Values CWE