CVE-2026-85725

published 22 Sep 2026 · updated 25 Sep 2026

LightRAG: Plaintext Passwords Compared Without Constant-Time Function

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HKUDS<1.5.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-85725 severity on Zeptric[![CVE-2026-85725](https://zeptric.io/badge/cve/CVE-2026-85725.svg)](https://zeptric.io/cve/CVE-2026-85725)