Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32
- https://github.com/HKUDS/LightRAG/pull/3423
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq
FAQ
What is CVE-2026-85725?
CVE-2026-85725 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 == operato...
How severe is CVE-2026-85725?
CVE-2026-85725 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-85725?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.