p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in lightrag-hku

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für lightrag-hku: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 10

  1. CVE-2026-86062

    Mittel · CVSS 6.1EPSS 0,34%Korrektur verfügbar

    LightRAG: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via ingested content

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, lightrag_webui/src/components/retrieval/ChatMessage.tsx renders answer and thinking content with react-markdown, rehypeRaw, and skipHtml=false without an HTML sanitizer. An attacker who can add a document can store raw HTML that is returned through the query path and rendered as active content by MessageMarkdown. A user who later retrieves the content can execute attacker-controlled JavaScript through elements such as an iframe srcdoc; the additional Mermaid securityLevel: loose rendering path also injects generated SVG through innerHTML. The script runs in the

    • Auf 1.5.5 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-85740

    Hoch · CVSS 7.1EPSS 0,26%Korrektur verfügbar

    LightRAG: SSRF via IPv6-transition address bypass (NAT64, IPv4-compatible, 6to4) of the native-markdown image-download guard

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, _validated_addresses in lightrag/parser/markdown/parser.py evaluates the literal resolved address with ipaddress.is_global without consistently classifying an IPv4 address embedded in an IPv6 transition wrapper. A caller who can upload a Markdown or textpack document can supply an external image URL using NAT64 64:ff9b::/96 or an IPv4-compatible form that embeds a loopback, private, or cloud-metadata IPv4 address. On a deployment with compatible NAT64 or DNS64 routing, _download and _build_guarded_opener accept the wrapper and fetch the internal resource, whose

    • Auf 1.5.5 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-85734

    Kritisch · CVSS 9.1EPSS 0,61%Korrektur verfügbar

    LightRAG: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, the POST /login endpoint in lightrag/api/lightrag_server.py does not impose a rate limit, account lockout, delay, or counter for failed authentication attempts. A network attacker can submit password guesses at full request speed until a valid account password is found. Successful credential recovery grants authenticated access to documents, the knowledge graph, and administrative operations. This issue is fixed in version 1.5.5.

    • Auf 1.5.5 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-85725

    Mittel · CVSS 5.9EPSS 0,45%Korrektur verfügbar

    LightRAG: Plaintext Passwords Compared Without Constant-Time Function

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, verify_password in lightrag/api/passwords.py compares plaintext AUTH_ACCOUNTS password values with Python's == operator. The comparison can return after the first mismatching byte, creating response-time differences based on password length and matching prefixes. A network attacker with sufficiently low-latency access can repeatedly query the /login endpoint and use the timing oracle to recover a plaintext-configured password character by character. Deployments using bcrypt-prefixed password values are not affected by this comparison path. This issue is fixed in

    • Auf 1.5.5 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-85709

    Mittel · CVSS 5.3EPSS 0,42%Korrektur verfügbar

    LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Responses

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.5, the LightRAG API server returns raw Python exception text from error handlers in document_routes.py, graph_routes.py, query_routes.py, ollama_api.py, and lightrag_server.py. The detail=str(e), detail=str(exc), and equivalent formatted-message paths expose server filesystem paths, database host, port, user, and database names, language-model provider diagnostics, configuration details, and Python library internals to a network client that can trigger an error. The default unauthenticated configuration makes those responses reachable without credentials, and URI-c

    • Auf 1.5.5 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2026-61740

    Kritisch · CVSS 9.3EPSS 0,51%Korrektur verfügbar

    LightRAG: Authentication bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protection

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.5.4, when LightRAG is deployed with LIGHTRAG_API_KEY set but AUTH_ACCOUNTS unset, X-API-Key protection can be bypassed because lightrag/api/auth.py falls back to a hardcoded DEFAULT_TOKEN_SECRET, /auth-status and /login can mint guest JWTs, and combined_dependency in lightrag/api/utils_api.py accepts a valid guest token before checking the API key. A remote unauthenticated attacker can call endpoints guarded by combined_auth, including document read, upload, deletion, graph mutation, and query endpoints. This vulnerability is fixed in 1.5.4.

    • Auf 1.5.4 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2026-61736

    Kritisch · CVSS 9.3EPSS 1,42%Öffentlicher ExploitKorrektur verfügbar

    LightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requests

    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.

    • Auf 1.5.4 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2026-30762

    Hoch · CVSS 7.5Korrektur verfügbar

    LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass

    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 attack

    • Auf 1.4.13 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2026-39413

    Mittel · CVSS 4.2EPSS 0,17%Korrektur verfügbar

    LightRAG has a JWT Algorithm Confusion Vulnerability in LightRAG API

    LightRAG provides simple and fast retrieval-augmented generation. Prior to 1.4.14, the 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 jwt.decode() call does not explicitly deny the 'none' algorithm, a crafted token without a signature will be accepted as valid, leading to unauthorized access. This vulnerability is fixed in 1.4.14.

    • Auf 1.4.14 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2025-6773

    Mittel · CVSS 4.8EPSS 0,21%Korrektur verfügbar

    HKUDS LightRAG File Upload document_routes.py upload_to_input_dir path traversal

    A vulnerability was found in HKUDS LightRAG up to 1.3.8. It has been declared as critical. Affected by this vulnerability is the function upload_to_input_dir of the file lightrag/api/routers/document_routes.py of the component File Upload. The manipulation of the argument file.filename leads to path traversal. It is possible to launch the attack on the local host. The identifier of the patch is 60777d535b719631680bcf5d0969bdef79ca4eaf. It is recommended to apply a patch to fix this issue.

    • Auf 1.3.8 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →