{"cve":"CVE-2026-61740","nvd":{"published":"2026-07-15T15:16:48.350","modified":"2026-10-24T21:10:00.130","status":"Deferred","description":"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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":9.3},"cvss_v3":null,"cwes":["CWE-287","CWE-798"],"references":["https://github.com/HKUDS/LightRAG/commit/f7819aa3a49a9d8d92eed8251d82d6ebcafa8cba","https://github.com/HKUDS/LightRAG/pull/3319","https://github.com/HKUDS/LightRAG/releases/tag/v1.5.4","https://github.com/HKUDS/LightRAG/security/advisories/GHSA-f4vv-55c2-5789","https://github.com/HKUDS/LightRAG/security/advisories/GHSA-f4vv-55c2-5789"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-61740","score":0.00509,"percentile":0.4316,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-f4vv-55c2-5789","url":"https://osv.dev/vulnerability/GHSA-f4vv-55c2-5789","summary":"LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection","modified":"2026-07-23T15:11:48.606200820Z","packages":[{"ecosystem":"PyPI","name":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","ranges":["<1.5.4"],"fixed":["1.5.4"]}]},{"id":"PYSEC-2026-3475","url":"https://osv.dev/vulnerability/PYSEC-2026-3475","summary":"LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection","modified":"2026-07-23T15:00:12.477177105Z","packages":[{"ecosystem":"PyPI","name":"lightrag-hku","purl":"pkg:pypi/lightrag-hku","ranges":["<1.5.4"],"fixed":["1.5.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}