Headline
GHSA-j5pr-vrjj-9v4h: Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function
The parisneo/lollms repository is affected by a timing attack vulnerability in the authenticate_user
function within the lollms_authentication.py
file. This vulnerability allows attackers to enumerate valid usernames and guess passwords incrementally by analyzing response time differences. The affected version is the latest, and the issue is resolved in commit f78437f. The vulnerability arises from the use of Python’s default string equality operator for password comparison, which compares characters sequentially and exits on the first mismatch, leading to variable response times based on the number of matching initial characters.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2025-6386
Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function
High severity GitHub Reviewed Published Jul 7, 2025 to the GitHub Advisory Database • Updated Jul 8, 2025
Affected versions
<= 11.0.0
Description
The parisneo/lollms repository is affected by a timing attack vulnerability in the authenticate_user function within the lollms_authentication.py file. This vulnerability allows attackers to enumerate valid usernames and guess passwords incrementally by analyzing response time differences. The affected version is the latest, and the issue is resolved in commit f78437f. The vulnerability arises from the use of Python’s default string equality operator for password comparison, which compares characters sequentially and exits on the first mismatch, leading to variable response times based on the number of matching initial characters.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6386
- ParisNeo/lollms@f78437f
- https://huntr.com/bounties/6da05485-d219-4f18-9ffc-991053524b67
Published to the GitHub Advisory Database
Jul 7, 2025