Intel

AIKIDO-2026-320704

lightrag-hku is vulnerable to Improper Restriction of Excessive Authentication Attempts

CVE-2026-85734Published Aug 3, 2026
August 3, 2026

75

CVE Score

High

Improper Restriction of Excessive Authentication Attempts

Are you affected? Scan for Free

TL;DR

The POST /login endpoint in lightrag/api/lightrag_server.py performs no rate limiting, account lockout, backoff, or attempt counting on failed authentication. A network-reachable client can submit unlimited password guesses at full network speed against configured accounts. Once credentials are recovered, the client gains full authenticated access to all documents, the knowledge graph, and administrative operations. The fix adds a login rate limiter that throttles repeated failed attempts.

How do I fix this?

Upgrade the lightrag-hku library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you configure AUTH_ACCOUNTS so that the /login endpoint authenticates users.

Versions

1.4.0 - 1.5.4

Fixed in 1.5.5

Background info

lightrag-hku is vulnerable to Improper Restriction of Excessive Authentication Attempts in versions 1.4.0 - 1.5.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea