LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, verify_password in lightrag/api/passwords.py compares plaintext AUTH_ACCOUNTS password values with Python's == operator. The comparison can return after the first mismatching byte, creating response-time differences based on password length and matching prefixes. A network attacker with sufficiently low-latency access can repeatedly query the /login endpoint and use the timing oracle to recover a plaintext-configured password character by character. Deployments using bcrypt-prefixed password values are not affected by this comparison path. This issue is fixed in version 1.5.5.
References
Configurations
No configuration.
History
26 Sep 2026, 00:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq - |
22 Sep 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-22 17:17
Updated : 2026-09-26 00:16
NVD link : CVE-2026-85725
Mitre link : CVE-2026-85725
CVE.ORG link : CVE-2026-85725
JSON object : View
Products Affected
No product.
CWE
CWE-208
Observable Timing Discrepancy
