lightrag-hku is vulnerable to Server-Side Request Forgery (SSRF)
71
High Risk
LightRAG's native markdown parser in lightrag/parser/markdown/parser.py downloads external images referenced by uploaded markdown or textpack documents. The _validated_addresses SSRF guard resolves the image host and rejects non-global addresses, but evaluates the raw resolved address without decoding IPv6-transition wrappers such as NAT64 64:ff9b::/96, IPv4-compatible ::a.b.c.d, or 6to4 2002::/16 that embed an internal IPv4. On a host with NAT64/DNS64 routing, a wrapped address is classified as globally routable and the request is delivered to the embedded internal target, exposing loopback services, RFC1918 hosts, and cloud metadata endpoints. The fix decodes the embedded IPv4 and default-denies untrustworthy wrapper blocks before the global-routability check.
You are affected if you are using a version that falls within the vulnerable range and you allow document uploads processed by the native markdown parser with image download enabled on a host that has NAT64/DNS64 routing.
lightrag-hku is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 1.5.4.
Upgrade the lightrag-hku library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant