PT-2026-60193 · Lightrag · Lightrag

CVE-2026-61740

·

Published

2026-07-15

·

Updated

2026-07-23

CVSS v4.0

9.3

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions LightRAG versions prior to 1.5.4
Description An authentication bypass occurs when the software is deployed with LIGHTRAG API KEY configured but AUTH ACCOUNTS is not set. This happens because the lightrag/api/auth.py file reverts to a hardcoded DEFAULT TOKEN SECRET, allowing the /auth-status and /login endpoints to generate guest JSON Web Tokens (JWTs). Furthermore, the combined dependency function in lightrag/api/utils api.py accepts these guest tokens before verifying the API key. This allows a remote unauthenticated attacker to access endpoints protected by combined auth, enabling unauthorized document reading, uploading, deletion, graph mutation, and querying.
Recommendations Update LightRAG to version 1.5.4.

Exploit

Fix

Using Hardcoded Credentials

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-61740
GHSA-F4VV-55C2-5789
PYSEC-2026-3475

Affected Products

Lightrag