CVE-2026-85725
MEDIUM 5.9CVSS 3.1lightrag-hku: Plaintext Passwords Compared Without Constant-Time Function
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.
- Published
- 22 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-208
- Also known as
- GHSA-c759-cx9p-mrwqPYSEC-2026-4061
- Sources
- NVDJSONOSV GHSA-c759-cx9p-mrwqJSONOSV PYSEC-2026-4061JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | lightrag-hku | < 1.5.5 | 1.5.5 |
References
- https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c · WEB
- https://github.com/HKUDS/LightRAG/pull/3423 · WEB
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5 · WEB
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-85725 · ADVISORY
- https://github.com/HKUDS/LightRAG · PACKAGE
- https://pypi.org/project/lightrag-hku · PACKAGE
- https://github.com/advisories/GHSA-c759-cx9p-mrwq · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 22 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Sep 2026)