CVE-2025-6386: Lollms Lord Of Large Language Models Vulnerability
HIGHCVE-2025-6386 is a HIGH (CVSS 7.5) lord of large language models vulnerability (CWE-203: Observable Discrepancy) affecting Lollms libraries in the PyPI ecosystem. The issue involves lord of large language models vulnerable to observable discrepancy attack via authenticate_user function. Remediation is available in the latest vendor maintenance releases.
CVE-2025-6386 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-6386
To remediate this vulnerability, upgrade all affected Lollms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install lollms>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show lollms
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-6386, inspect your installed packages using pip:
pip show lollms
Analyze the terminal output to locate any version of Lollms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show lollms command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Lollms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-6386 Affected Lollms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lollms
|
PyPI |
≤ 11.0.0
|
|
References
Frequently Asked Questions
What is CVE-2025-6386?
Which Lollms versions are affected?
What version fixes CVE-2025-6386?
Is lollms affected?
What is the CVSS score of CVE-2025-6386?
What CWE is associated with CVE-2025-6386?
How can I check PyPI dependencies for CVE-2025-6386?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j5pr-vrjj-9v4h",
"modified" : "2025-07-08T18:44:08Z",
"published" : "2025-07-07T12:30:23Z",
"aliases" : [ "CVE-2025-6386" ],
"summary" : "Lord of Large Language Models vulnerable to Observable Discrepancy attack via authenticate_user function",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "lollms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "11.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-6386"
}, {
"type" : "WEB",
"url" : "https://github.com/parisneo/lollms/commit/f78437f7b5aa39a78c6201912faf4e0645a38c48"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ParisNeo/lollms"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/6da05485-d219-4f18-9ffc-991053524b67"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-08T18:44:08Z",
"nvd_published_at" : "2025-07-07T10:15:29Z"
}
}