Skip to content
Heist/ feed
Medium

LightRAG: Plaintext Passwords Compared Without Constant-Time Function

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-85725

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-85725

LightRAG

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "HKUDS",
    "product": "LightRAG",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.5.5"
      }
    ]
  }
]
Related CVEs
CVE-2026-85725

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#2321 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement