Description
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 body is then ingested. Current interpreter behavior already blocks some RFC 8215 and 6to4 forms, but the fixed guard handles all documented wrappers without becoming more permissive than the standard library. This issue is fixed in version 1.5.5.
Published: 2026-09-22
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Remote Server‑Side Request Forgery
Action: Immediate Patch
AI Analysis

Impact

LightRAG is a retrieval‑augmented generation platform that processes Markdown or textpack documents. An upload that includes an image URL can trigger a download of the referenced image. The parser module checks whether the resolved address is globally routable using Python's ipaddress.is_global. Before version 1.5.5 this check did not consistently classify IPv4 addresses embedded in IPv6 transition wrappers such as NAT64 (64:ff9b::/96), IPv4‑compatible, or 6to4 addresses. As a result, an attacker could upload a document that references a private, loopback, or cloud‑metadata address wrapped in one of these transition notations. The parser would accept the address, download the internal resource, and ingest its contents, thereby providing an internal SSRF path that can read sensitive internal data.

Affected Systems

All installations of LightRAG older than 1.5.5 are vulnerable. The weakness exists in the parser located at lightrag/parser/markdown/parser.py and affects any deployment that accepts user‑supplied Markdown or textpack uploads. The issue is fixed in release v1.5.5, so the vendor’s recommendation is to upgrade when possible.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate‑to‑high severity, and the absence of an EPSS score suggests there is insufficient publicly available data on exploitation likelihood, but the vulnerability is not currently listed in the CISA KEV catalog. Exploitation requires the attacker to supply a vulnerable document via an upload endpoint. Once the guard is bypassed, the server will fetch data from internal destinations, which can expose configuration files, metadata, or private resources. The attack can be carried out remotely if the upload interface is publicly reachable, making this a compelling SSRF risk for organizations that expose LightRAG to untrusted users.

Generated by OpenCVE AI on September 22, 2026 at 17:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the fix by upgrading to LightRAG v1.5.5 or later.
  • Disable or remove the ability to specify external image URLs in Markdown uploads if an upgrade is not yet possible.
  • Add validation logic that rejects any image URL containing IPv6 transition wrappers (NAT64, IPv4‑compatible, 6to4) or private loopback addresses before initiating a download.
  • Monitor outbound HTTP requests from the LightRAG parser for unexpected internal network connections and enforce firewall rules to block such traffic.

Generated by OpenCVE AI on September 22, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hkuds
Hkuds lightrag
Vendors & Products Hkuds
Hkuds lightrag

Tue, 22 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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 body is then ingested. Current interpreter behavior already blocks some RFC 8215 and 6to4 forms, but the fixed guard handles all documented wrappers without becoming more permissive than the standard library. This issue is fixed in version 1.5.5.
Title LightRAG: SSRF via IPv6-transition address bypass (NAT64, IPv4-compatible, 6to4) of the native-markdown image-download guard
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T16:20:11.620Z

Reserved: 2026-09-04T14:50:16.719Z

Link: CVE-2026-85740

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T17:17:27.520

Modified: 2026-09-22T17:17:27.650

Link: CVE-2026-85740

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:30:18Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)