Skip to content
MediumVulnerability

CVE-2026-85725: LightRAG timing side channel in password comparison at /login

Identifier
CVE-2026-85725
Published
Record updated
View JSON
Affected
  • lightrag-hku <= 1.5.4
Fixed in
1.5.5

Summary

CVE-2026-85725 affects LightRAG before 1.5.5, where verify_password in lightrag/api/passwords.py compares plaintext AUTH_ACCOUNTS passwords with the == operator. The comparison can return at the first mismatching byte, so response times leak password length and matching prefixes. A network attacker with low-latency access can repeatedly query /login and recover a plaintext-configured password character by character; bcrypt-prefixed passwords are not affected.

Mitigation

Fixed in version 1.5.5.