CVE-2026-61740

LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, when LightRAG is deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, X-API-Key protection can be bypassed because lightrag/api/auth.py falls back to a hardcoded DEFAULT_TOKEN_SECRET, /auth-status and /login can mint guest JWTs, and combined_dependency in lightrag/api/utils_api.py accepts a valid guest token before checking the API key. A remote unauthenticated attacker can call endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. This vulnerability is fixed in 1.5.4.
CVSS

No CVSS.

Configurations

No configuration.

History

15 Jul 2026, 16:16

Type Values Removed Values Added
References () https://github.com/HKUDS/LightRAG/security/advisories/GHSA-f4vv-55c2-5789 - () https://github.com/HKUDS/LightRAG/security/advisories/GHSA-f4vv-55c2-5789 -

15 Jul 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-15 15:16

Updated : 2026-07-15 18:15


NVD link : CVE-2026-61740

Mitre link : CVE-2026-61740

CVE.ORG link : CVE-2026-61740


JSON object : View

Products Affected

No product.

CWE
CWE-287

Improper Authentication

CWE-798

Use of Hard-coded Credentials