7.5high
Timing Attack Vulnerability in parisneo/lollms
- Severity
- 7.5high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-j5pr-vrjj-9v4hPYSEC-2026-1590
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms | from unspecified before 20.1 | CVE List |
| lollms (PyPI) | up to 11.0.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
El repositorio parisneo/lollms se ve afectado por una vulnerabilidad de ataque de tiempo en la función `authenticate_user` del archivo `lollms_authentication.py`. Esta vulnerabilidad permite a los atacantes enumerar nombres de usuario válidos y adivinar contraseñas de forma incremental mediante el análisis de las diferencias en los tiempos de respuesta. La versión afectada es la más reciente y el problema se ha resuelto en la versión 20.1. La vulnerabilidad surge del uso del operador de igualdad de cadenas predeterminado de Python para la comparación de contraseñas, que compara caracteres secuencialmente y finaliza con la primera discrepancia, lo que genera tiempos de respuesta variables según el número de caracteres iniciales coincidentes.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6386 changed 2025-07-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j5pr-vrjj-9v4h changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-6386 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1590 changed 2026-07-07 | CC-BY-4.0 |