Skip to main content
← All vulnerabilities
CVE-2026-85725GHSA-C759-CX9P-MRWQPYSEC-2026-4061

LightRAG: Plaintext Passwords Compared Without Constant-Time Function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HKUDS LightRAG

    fixed in 1.5.5

  • lightrag-hkuPyPI

    fixed in 1.5.5

References 4

GitHub · HKUDS/LightRAG