CriticalVulnerability
CVE-2026-61740: LightRAG API key protection bypass via hardcoded guest token secret
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-61740
- Published
- Record updated
Summary
LightRAG versions before 1.5.4, when deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, allow X-API-Key protection to be bypassed. The auth module falls back to a hardcoded DEFAULT_TOKEN_SECRET, so /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 reach combined_auth-guarded endpoints covering document read, upload and deletion, graph mutation, and queries.
Mitigation
Fixed in 1.5.4.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online