lightrag-hku
[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation
Activity
- Latest release
- 1w ago
- Total releases
- 94
- Cadence
- ~5 days
- Last 12 months
- 36
Reach
- Stars
- 39.5k
Details
- License
- MIT
- First release
- Oct 10, 2024
| Version | Released | |
|---|---|---|
1.5.7
patch
| ||
1.5.7rc2
pre
| ||
1.5.7rc1
pre
| ||
1.5.6
patch
| ||
1.5.5
patch
| ||
1.5.5rc1
pre
| ||
1.5.4
patch
| ||
1.5.3
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.2
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.1
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.0
minor
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.0rc3
pre
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.0rc2
pre
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.4.16
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.5.0rc1
pre
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.4.15
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.4.14
patch
2 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev | ||
1.4.13
patch
3 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.13rc1
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.12
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.12rc1
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.11
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.11rc2
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.10
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.11
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.10
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.9
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.8
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.7
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.6
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.5
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.4
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.4rc1
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.3
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.2
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9.1
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9rc4
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9rc3
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9rc2
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.9rc1
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8.2
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8.1
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8rc9
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8rc8
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8rc7
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8rc6
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.8rc4
pre
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.7
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev | ||
1.4.6
patch
4 CVEs
CVE-2026-61740
PYSEC-2026-3475
GHSA-f4vv-55c2-5789
Jul 23, 2026
LightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection
Critical
Network
Low
None
None
SummaryWhen LightRAG is deployed with This is distinct from the previously-fixed GHSA-mcww-4hxq-hfr3 / CVE-2026-30762, which only covered the Root causeThree independent issues combine:
Proof of concept (offline-minted token, zero server contact)Tested against a clean install of commit
The guest JWT also does not need to be minted offline — ImpactAny LightRAG instance that is reachable on the network and configured with:
is fully accessible to any anonymous caller. This configuration is documented as the "simple API-Key authentication" mode in
Because the server may be exposed behind corporate reverse proxies that trust Suggested CVSS7.5 — Suggested fixAny one of the following individually closes the primary vector; all three are recommended for defense in depth:
Affected versions
Prior art checked
DiscoveryFound during an external security review of LightRAG's API authentication flow. Reporter can be credited publicly as "patchmyday (Jason Zhang)" upon disclosure. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-61736
PYSEC-2026-3474
GHSA-6x6h-qqr7-855w
Jul 23, 2026
LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
9.3
/ 10
Critical
Network
Low
None
Required
Changed
High
High
None
SummaryThe server defaults to CORS_ORIGINS=* combined with allow_credentials=True. Starlette's CORSMiddleware echoes the requesting origin in preflight responses when credentials are enabled, meaning every origin is effectively whitelisted for credentialed cross-origin requests. Any malicious website can perform authenticated API calls on behalf of a logged-in user. Details
PoCHost on any origin. Open in browser where user is logged in to LightRAG:
ImpactPermissive cross-domain policy (CWE-942). Any website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating all documents and knowledge graph data or performing destructive actions such as deleting the entire document store. Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 75 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.14
1.4.15
1.4.16
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
1.5.0
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.1
1.5.2
1.5.3
Fixed in
1.5.4
References
Updated Jul 23, 2026 · Source: OSV.dev
CVE-2026-39413
PYSEC-2026-2592
GHSA-8ffj-4hx4-9pgf
Jul 13, 2026
lightrag-hku: JWT Algorithm Confusion Vulnerability
4.2
/ 10
Medium
Network
High
High
Required
Unchanged
High
None
None
SummaryThe LightRAG API is vulnerable to a JWT algorithm confusion attack where an attacker can forge tokens by specifying 'alg': 'none' in the JWT header. Since the DetailsIn
This allows any algorithm listed in the token's header to be processed, including 'none'. The code does not explicitly specify that 'none' is not allowed, making it possible for an attacker to bypass authentication. PoCAn attacker can generate a JWT with the following structure:
Then send a request like:
ImpactAn attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials. Recommended FixExplicitly specify allowed algorithms and exclude 'none'. Modify the
Or better yet, hardcode the expected algorithm(s):
Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 65 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.14
References
Updated Jul 13, 2026 · Source: OSV.dev
CVE-2026-30762
PYSEC-2026-2593
GHSA-mcww-4hxq-hfr3
Jul 13, 2026
LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass
7.5
/ 10
High
Network
Low
None
None
Unchanged
High
None
None
Subject: Security Vulnerability Report Hardcoded JWT Secret (CVE-2026-30762) Hi HKUDS team, I'm writing to report a security vulnerability I discovered in LightRAG v1.4.10. This has been assigned CVE-2026-30762 by MITRE. Vulnerability: Hardcoded JWT signing secret Type: Improper Authentication (CWE-287) Severity: High Attack Vector: Remote / Unauthenticated Summary: The file lightrag/api/config.py (line 397) uses a default JWT secret "lightrag-jwt-default-secret" when the TOKEN_SECRET environment variable is not set. The AuthHandler in lightrag/api/auth.py (lines 24-25) uses this secret to sign and verify tokens. An unauthenticated attacker can forge valid JWT tokens using the publicly known default secret and gain access to any protected endpoint. Reproduction:
Suggested Fix: Require TOKEN_SECRET to be explicitly set when AUTH_ACCOUNTS is configured. Refuse to start the API server if authentication is enabled but no custom secret is provided. I'm following a 90-day responsible disclosure timeline from today's date. Please let me know if you have any questions or need additional information. Best regards, Venkata Avinash Taduturi Affected versions
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.0.0
1.0.1
1.0.3
1.0.5
+ 64 more Show less
1.0.6
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.1
1.2.2
1.2.3
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.10
1.4.11
1.4.11rc2
1.4.12
1.4.12rc1
1.4.13rc1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8.1
1.4.8.2
1.4.8rc4
1.4.8rc6
1.4.8rc7
1.4.8rc8
1.4.8rc9
1.4.9
1.4.9.1
1.4.9.10
1.4.9.11
1.4.9.2
1.4.9.3
1.4.9.4
1.4.9.4rc1
1.4.9.5
1.4.9.6
1.4.9.7
1.4.9.8
1.4.9.9
1.4.9rc1
1.4.9rc2
1.4.9rc3
1.4.9rc4
Fixed in
1.4.13
References Updated Jul 13, 2026 · Source: OSV.dev |