{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-85725","id":"CVE-2026-85725","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 acces","descriptionLong":"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.","published":"2026-09-22T16:16:36.326Z","updated":"2026-10-28T02:30:48.973311602Z","reserved":"2026-09-04T14:45:10.648Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["HKUDS LightRAG"],"affectedProducts":[{"vendor":"HKUDS","product":"LightRAG","defaultStatus":null,"versions":[{"version":"< 1.5.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","ranges":["<1.5.5"],"fixed":["1.5.5"],"advisory":"GHSA-c759-cx9p-mrwq"}],"cwes":["CWE-208"],"aliases":["GHSA-c759-cx9p-mrwq","PYSEC-2026-4061"],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/HKUDS/LightRAG/pull/3423","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85725.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85725","tags":["advisory"]},{"url":"https://github.com/HKUDS/LightRAG","tags":["package"]},{"url":"https://pypi.org/project/lightrag-hku","tags":["package"]},{"url":"https://github.com/advisories/GHSA-c759-cx9p-mrwq","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00446,"epssPercentile":0.39524,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85725","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85725","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-85725","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c759-cx9p-mrwq","ok":true,"note":"GHSA-c759-cx9p-mrwq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85725","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}