# CVE-2026-85725: LightRAG: Plaintext Passwords Compared Without Constant-Time Function

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-22T16:16:36.326Z
- Modified: 2026-10-01T17:55:55.036Z
- Also known as: GHSA-c759-cx9p-mrwq, PYSEC-2026-4061
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- HKUDS LightRAG: < 1.5.5
- lightrag-hku (PyPI): before 1.5.5

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/HKUDS/LightRAG/security/advisories/GHSA-c759-cx9p-mrwq> (exploit, web)
- <https://github.com/HKUDS/LightRAG/pull/3423> (web)
- <https://github.com/HKUDS/LightRAG/commit/89849c3ed0e0380345a6b5bade027cfb9a5bf32c> (web)
- <https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85725> (advisory)
- <https://github.com/HKUDS/LightRAG> (package)
- <https://pypi.org/project/lightrag-hku> (package)
- <https://github.com/advisories/GHSA-c759-cx9p-mrwq> (advisory)

## Sources

- CVE List: [CVE-2026-85725](https://www.cve.org/CVERecord?id=CVE-2026-85725), CVE Terms of Use, modified 2026-09-25
- GitHub Advisory Database: [GHSA-c759-cx9p-mrwq](https://github.com/advisories/GHSA-c759-cx9p-mrwq), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-85725](https://nvd.nist.gov/vuln/detail/CVE-2026-85725), Public domain, modified 2026-09-26
- PyPA Advisory Database: [PYSEC-2026-4061](https://osv.dev/vulnerability/PYSEC-2026-4061), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-85725 · Whole record: https://cve.day/CVE-2026-85725.json · Rebuilt by cve.day 2026-11-25T22:59:40.479Z
