CVE-2025-6386 Timing Attack Vulnerability in parisneo/lollms

High 7.5 Published Updated

Attackers can enumerate valid usernames and guess passwords by analyzing response time differences in the authentication function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6386?

CVE-2025-6386 is a high-severity vulnerability in parisneo/lollms, published on 7 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-203

Which versions are affected by CVE-2025-6386?

3 open source packages ship an affected version, including lollms.

PackageAffectedFixed in
lollms PyPIAll versions to 11.0.0None
lollms PyPIAll versions to 11.0.0None
lollms PyPIAll versions to 11.0.0None

How do I fix CVE-2025-6386?

No fix has been published for CVE-2025-6386 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-6386 being exploited?

There is no known exploitation of CVE-2025-6386 in the wild and no public exploit code.

Sources

Also known as GHSA-j5pr-vrjj-9v4h, PYSEC-2026-1590.

Is CVE-2025-6386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free