All vulnerabilities

Servers and applications

CVE-2026-33707

Weak Password Recovery Mechanism for Forgotten Password in chamilo/chamilo-lms (<=1.11.36 & 2.0-RC.2)

Severity
Critical 9.8
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.11.38
Exploit chance
0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Weak password recovery (CWE-640)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-f27g-66gq-g7v2
Sources
NVD, Project advisories (GitHub)

Description

The default password reset mechanism generates tokens using sha1($email) with no random component, no expiration, and no rate limiting. An attacker who knows a user's email can compute the reset token and change the victim's password without authentication.

Affected code: main/inc/lib/login.lib.php

Token generation (Line 251-254):

Token validation (Line 288) -- no expiration check:

Reset URL format: lostPassword.php?reset={SHA1_OF_EMAIL}&id={USER_ID}

This vulnerable path is the default -- active when user_reset_password setting is 'false' (default in main/install/data.sql line 1785).

Issues:

  • Token = sha1(email) -- completely deterministic
  • No expiration -- works forever, even without requesting a reset first
  • No rate limiting -- unlimited attempts
  • Loose comparison == instead of === or hash_equals()
  • User ID is sequential and guessable
From chamilo/chamilo-lms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Chamilo LMSServers and applications · cpe:a:chamilo:chamilo_lms
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
  • Version 2.0.0-beta3
  • Version 2.0.0-beta2
All 11 release lines
  • Every version before 1.11.38
  • Version 2.0.0-alpha1
  • Version 2.0.0-alpha2
  • Version 2.0.0-alpha3
  • Version 2.0.0-alpha4
  • Version 2.0.0-alpha5
  • Version 2.0.0-beta1
  • Version 2.0.0-beta2
  • Version 2.0.0-beta3
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
Chamilo LMSServers and applications · github:chamilo/chamilo-lms
  • Version 2.0-RC.2

About Chamilo LMS

Free Software Learning Management System

From Wikidata, CC0 1.0.
Share of websites with a known CMS
0.6%W3Techs, Nov 2026
GitHub stars
1,024GitHub, 15 Nov 2026
Forks
567GitHub, 15 Nov 2026
Latest release
v3.0.2GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
GPL-3.0GitHub
Written in
PHP, JavaScriptWikidata
First released
18 Jan 2010Wikidata
First published on GitHub
29 Mar 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-33707
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-33707
  • GitHub Advisory Database https://github.com/advisories/GHSA-f27g-66gq-g7v2
  • github.com https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-f27g-66gq-g7v2