{"id":"CVE-2026-85725","published":"2026-09-22T16:16:36Z","modified":"2026-09-25T23:43:12Z","title":"LightRAG: Plaintext Passwords Compared Without Constant-Time Function","vendor":"HKUDS","product":"LightRAG","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.3057,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HKUDS/LightRAG/pull/3423","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":6.11},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"hkuds","affectedVersions":[{"vendor":"HKUDS","product":"LightRAG","versions":["< 1.5.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-25T23:42:45.536883Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lightrag-hku","vulnerableRanges":["<1.5.5"],"patched":["1.5.5"],"from":["GHSA-c759-cx9p-mrwq","PYSEC-2026-4061"],"provenance":"source"}],"summary":{"text":"LightRAG's verify_password function in lightrag/api/passwords.py compares plaintext AUTH_ACCOUNTS passwords with Python's == operator, which can return early on the first mismatched byte and leak timing differences. A network attacker with low-latency access can repeatedly query the /login endpoint and exploit that timing oracle to recover a plaintext-configured password character by character, though deployments using bcrypt-prefixed passwords are not affected by this path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:42Z"},"euvd":{"id":"EUVD-2026-84546","exploited":false,"provenance":"source"}}