LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests (HKUDS LightRAG)
En bref
- Source
- NVD
- EPSS
- EPSS 1.42 % · centile 73 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Deferred
Description
LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, the server defaults to CORS_ORIGINS=* combined with allow_credentials=True in lightrag/api/lightrag_server.py, causing Starlette CORSMiddleware to effectively whitelist every origin for credentialed cross-origin requests. Any malicious website visited by an authenticated LightRAG user can silently make authenticated API requests, exfiltrating documents and knowledge graph data or performing destructive actions such as deleting the document store. This vulnerability is fixed in 1.5.4.
Faiblesses (CWE)
- CWE-942 — Permissive Cross-domain Security Policy with Untrusted Domains
Références
- https://github.com/HKUDS/LightRAG/security/advisories/GHSA-6x6h-qqr7-855w
- https://github.com/HKUDS/LightRAG/pull/3317
- https://github.com/HKUDS/LightRAG/commit/09567a4c983f580050db63569dd477122c058c3d
- https://github.com/HKUDS/LightRAG/commit/df68d75f9dc29dd340ffb6794b48f48c4fdc9a2d
- https://github.com/HKUDS/LightRAG/commit/ebba6548639c0f2e8919100eff76b401f1222252
- https://github.com/HKUDS/LightRAG/releases/tag/v1.5.4
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-6x6h-qqr7-855w — LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
- PYSEC-2026-3474 — LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests
Références européennes
- ENISA EUVD · EUVD-2026-44670
- GCVE · GCVE-0-2026-61736
Produits affectés
| Produit | Versions |
|---|---|
| HKUDS · LightRAG | affected < 1.5.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |