Skip to main content

LightRAG CVE-2026-61808

| EUVDEUVD-2026-54644 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-08-07 security-advisories@github.com
9.8
CVSS 3.1 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.8 CRITICAL

The insecure 0.0.0.0 bind with no auth is the shipped default, so PR:N and AC:L hold, with full document/graph read-write giving C:H/I:H and pipeline/cache/LLM abuse giving A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

5
Threat Model Generated
Aug 30, 2026 - 20:02 vuln.today
Patch available
Aug 07, 2026 - 21:02 EUVD
Source Code Evidence Fetched
Aug 07, 2026 - 20:33 vuln.today
Analysis Generated
Aug 07, 2026 - 20:33 vuln.today
CVE Published
Aug 07, 2026 - 20:16 cve.org
CRITICAL 9.8

DescriptionCVE.org

LightRAG provides simple and fast retrieval-augmented generation. Through version 1.5.4, the LightRAG API server binds to all network interfaces with authentication disabled by default, allowing an unauthenticated network attacker to read indexed document content, upload or delete documents, modify the knowledge graph, cancel pipelines, clear caches, and consume LLM resources. This issue is mitigated in version 1.5.5rc1.

AnalysisAI

Missing authentication in the LightRAG API server (HKUDS/LightRAG) through version 1.5.4 exposes every management endpoint to unauthenticated network attackers, because the server binds to 0.0.0.0 by default while authentication is off unless explicitly configured. Any attacker with network reach can read indexed document content, upload or delete documents, rewrite the knowledge graph, cancel ingestion pipelines, clear caches, and consume LLM/API credits. No public exploit identified at time of analysis, but exploitation is trivial via a single unauthenticated HTTP request, and the fix in 1.5.5rc1 is largely a hardening/warning change rather than an enforced secure default, so operator action is still required.

Technical ContextAI

LightRAG is a retrieval-augmented generation (RAG) framework that ships a FastAPI-based API server plus WebUI and an Ollama-compatible /api/* interface for chat and generation. The root cause is CWE-306 (Missing Authentication for Critical Function): the server defaults HOST to 0.0.0.0 (all interfaces) but leaves authentication disabled unless LIGHTRAG_API_KEY, or AUTH_ACCOUNTS together with TOKEN_SECRET, are set in .env. Compounding this, even when auth is enabled the default WHITELIST_PATHS exempts the entire /api/* prefix (to mirror Ollama's own unauthenticated behavior), leaving the LLM-invoking chat/generate routes open. The referenced commit adds a whitelist_exposes_api_routes() helper and a splash-screen warning, and documents that operators must narrow WHITELIST_PATHS to /health and bind to 127.0.0.1 or set an API key before exposing the server to a network.

RemediationAI

Upgrade to LightRAG 1.5.5rc1 or later per GHSA-mmg5-8x8q-v934 (https://github.com/HKUDS/LightRAG/security/advisories/GHSA-mmg5-8x8q-v934); note this is a release candidate and, per commit 0bd1024, chiefly adds warnings and documentation rather than a secure-by-default flip, so you must also configure authentication yourself. Set LIGHTRAG_API_KEY (or AUTH_ACCOUNTS together with a non-default TOKEN_SECRET, without which the server refuses to start) in .env before exposing the server. Because the default WHITELIST_PATHS exempts the Ollama-compatible /api/* routes (/api/chat, /api/generate, etc.) even when auth is enabled, set WHITELIST_PATHS=/health to require authentication on those LLM-invoking routes too - the trade-off is that Ollama clients must then send the API key. If network exposure is not needed, bind to 127.0.0.1 (HOST=127.0.0.1), which removes remote access entirely; for containers, publish the port only to a trusted interface or place the service behind an authenticating reverse proxy or network ACL. Until upgraded and authenticated, restrict inbound access to the API port at the firewall.

Share

CVE-2026-61808 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy