{"id":"CVE-2026-85725","state":"PUBLISHED","title":"LightRAG: Plaintext Passwords Compared Without Constant-Time Function","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.","publishedAt":"2026-09-22T16:16:36.326Z","updatedAt":"2026-09-25T23:43:12.253Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["HKUDS LightRAG"],"affected":[{"vendor":"HKUDS","product":"LightRAG","versions":[{"version":"< 1.5.5","status":"affected"}]}],"references":["https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","https://github.com/HKUDS/LightRAG/pull/3423","https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c","https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5"],"weaknesses":["CWE-208"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85725.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85725","state":"PUBLISHED","datePublished":"2026-09-22T16:16:36.326Z","dateUpdated":"2026-09-25T23:43:12.253Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T14:45:10.648Z"},"containers":{"cna":{"title":"LightRAG: Plaintext Passwords Compared Without Constant-Time Function","descriptions":[{"lang":"en","value":"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":[{"vendor":"HKUDS","product":"LightRAG","versions":[{"version":"< 1.5.5","status":"affected"}]}],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","name":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HKUDS/LightRAG/pull/3423","name":"https://github.com/HKUDS/LightRAG/pull/3423","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c","name":"https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c","tags":["x_refsource_MISC"]},{"url":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","name":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","lang":"en","description":"CWE-208: Observable Timing Discrepancy","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-22T16:16:36.326Z"},"source":{"advisory":"GHSA-c759-cx9p-mrwq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-25T23:42:45.536883Z","id":"CVE-2026-85725","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-25T23:43:12.253Z"}}]}}}