{"id":"CVE-2026-33710","published":"2026-04-10T18:59:24Z","modified":"2026-04-13T15:36:06Z","title":"Chamilo LMS has Weak REST API Key Generation (Predictable)","vendor":"chamilo","product":"chamilo-lms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00293,"percentile":0.22472,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c49c2d09","tags":["x_refsource_MISC"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d269a9a9d","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.49},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"chamilo","affectedVersions":[{"vendor":"chamilo","product":"chamilo-lms","versions":["< 1.11.38",">= 2.0.0-alpha.1, < 2.0.0-RC.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-13T12:51:59.204900Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21565","exploited":false,"provenance":"source"}}