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

Published Jul 7, 2025
·
Updated

The parisneo/lollms repository is affected by a timing attack vulnerability in the authenticateuser function within the lollmsauthentication.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.

Other sources

The parisneo/lollms repository is affected by a timing attack vulnerability in the authenticateuser function within the lollmsauthentication.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.

MITRE

Affected Software

2 affected components
parisneo lollms>20.1
pip/lollms<=11.0.0

Event History

Jul 7, 2025
CVE Published
via MITRE·09:55 AM
Data Sourced
via MITRE·09:55 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionSeverityWeaknessAffected Software
Oct 30, 57501
Event
via FIRST·02:42 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6386?

CVE-2025-6386 is classified as a medium severity vulnerability due to its potential for exploitation via timing attacks.

2

How does the timing attack in CVE-2025-6386 work?

The timing attack in CVE-2025-6386 allows attackers to enumerate valid usernames and guess passwords by measuring response times in the `authenticate_user` function.

3

What versions of the parisneo/lollms repository are affected by CVE-2025-6386?

CVE-2025-6386 affects versions of the parisneo/lollms repository starting from version 20.1.

4

How can I fix CVE-2025-6386 in my application?

To mitigate CVE-2025-6386, implement constant-time response techniques in the `authenticate_user` function to ensure response times do not vary based on input.

5

What are the potential risks associated with not addressing CVE-2025-6386?

Failing to address CVE-2025-6386 could lead to unauthorized access to user accounts through username enumeration and incremental password guessing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203