CVE-2025-6386

Timing Attack Vulnerability in parisneo/lollms

Published Jul 7, 2025 CVSS 3.0 · 7.5 High EPSS < 1% KEV · Not listed
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 version 20.1. 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20213 Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function
Github GHSA Github GHSA GHSA-j5pr-vrjj-9v4h Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00062}

epss

{'score': 0.00074}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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 version 20.1. 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.
Title Timing Attack Vulnerability in parisneo/lollms
Weaknesses CWE-203
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Jul 7, 2025, 2:22 PM
Reserved
Jun 19, 2025, 9:10 PM
Status
Deferred
Published
Jul 7, 2025, 10:15 AM
Modified
Jun 17, 2026, 10:01 AM