{"id":82039,"date":"2026-07-15T18:46:48","date_gmt":"2026-07-15T15:16:48","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-61740-lightrag-authentication-bypass-hardcoded-default_token_secret-and-public-auth-status-defeat-lightrag_api_key-protection\/"},"modified":"2026-07-15T18:46:48","modified_gmt":"2026-07-15T15:16:48","slug":"cve-2026-61740-lightrag-authentication-bypass-hardcoded-default_token_secret-and-public-auth-status-defeat-lightrag_api_key-protection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-61740-lightrag-authentication-bypass-hardcoded-default_token_secret-and-public-auth-status-defeat-lightrag_api_key-protection\/","title":{"rendered":"CVE-2026-61740 &#8211; LightRAG: Authentication bypass: hardcoded DEFAULT_TOKEN_SECRET and public \/auth-status defeat LIGHTRAG_API_KEY protection"},"content":{"rendered":"<p>CVE ID :CVE-2026-61740<\/p>\n<p>  Published : July 15, 2026, 3:16 p.m. | 17\u00a0minutes ago<\/p>\n<p>  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.<\/p>\n<p>  Severity: 9.3 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-61740 Published : July 15, 2026, 3:16 p.m. | 17\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82039","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82039"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82039\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}