CVE-2026-85725

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductLightrag-hku
PublishedSep 22, 2026
First seenSep 22, 2026
Weakness typeCWE-208CWE-208

How to fix

Update
  • lightrag-hku1.5.5 or later

Affected products

ProductAffected versionsFixed in
lightrag-hkuPyPIv < 1.5.51.5.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.