GitHub Advisoryadvisory · PyPI

GHSA-j5pr-vrjj-9v4h Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function

HIGH Published 2025-07-07 Modified 2025-07-08 Official page ↗
Aliases
CVE-2025-6386
Ecosystem
PyPI
Packages
lollms
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-203
Reviewed
2025-07-08

Affected packages

• PyPI lollms: <= 11.0.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2025-6386 The parisneo/lollms repository is affected by a timing attack vulnerability in the `authenticate_user` function within the… vulnerability

Weakness · CWE (1)

  • CWE-203 Observable Discrepancy weakness

References