PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61740 HKUDS CVE debrief

A critical vulnerability exists in LightRAG, a retrieval-augmented generation system, prior to version 1.5.4. When deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, an attacker can bypass X-API-Key protection due to a hardcoded DEFAULT_TOKEN_SECRET in lightrag/api/auth.py. This allows the creation of guest JWTs through /auth-status and /login, which can then be used to access endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. This issue is resolved in version 1.5.4.

Vendor
HKUDS
Product
LightRAG
CVSS
CRITICAL 9.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-15
Original CVE updated
2026-10-24
Advisory published
2026-07-15
Advisory updated
2026-10-24

Who should care

Defenders responsible for LightRAG deployments should assess their systems for exposure and prioritize upgrading to version 1.5.4 or later. Systems using LightRAG with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset are at risk.

Why it matters

CVE-2026-61740 is a critical vulnerability in LightRAG that allows bypass of X-API-Key protection, potentially leading to unauthorized access and data manipulation. Defenders should prioritize upgrading to version 1.5.4 or later and assess their systems for exposure.

  • Remote unauthenticated access to sensitive endpoints
  • Potential data exposure or manipulation
  • Bypass of API key protection mechanisms
  • Need for verification of current LightRAG version and configuration

Technical summary

LightRAG, a retrieval-augmented generation system, is vulnerable to bypass of X-API-Key protection when deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset. This is due to a hardcoded DEFAULT_TOKEN_SECRET in lightrag/api/auth.py, which allows the creation of guest JWTs. An attacker can use these JWTs to access endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. The issue is fixed in version 1.5.4.

Defensive priority

Defenders should prioritize upgrading LightRAG to version 1.5.4 or later to mitigate this vulnerability. Systems using LightRAG with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset are at risk and should be assessed for exposure.

Recommended defensive actions

  • Upgrade LightRAG to version 1.5.4 or later
  • Assess systems using LightRAG with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset for exposure
  • Verify API key and authentication settings
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is confirmed by the CVE Program and NVD records. Details are provided in the source references from GitHub, including commits, pull requests, and release notes. LightRAG deployments with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset are at risk. Defenders should verify current LightRAG version and configuration, assess systems for exposure, and prioritize upgrading to version 1.5.4 or later. Evidence limits suggest that further details may be available in source references, but specific configurations and versions of

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61740 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61740

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61740 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61740

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.