CVE-2026-85725
mediumLightRAG provides simple and fast retrieval-augmented generation.
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c security-advisories@github.com
- https://github.com/HKUDS/LightRAG/pull/3423 security-advisories@github.com
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5 security-advisories@github.com
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq security-advisories@github.com
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq 134c704f-9b21-4f2e-91b3-4a467353bcc0
