Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85725— LightRAG: Plaintext Passwords Compared Without Constant-Time Function

Quick assessment

Affected
HKUDS LightRAG
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 byt

CVSS 5.9 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
HKUDS LightRAG < 1.5.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85725

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LightRAG: Plaintext Passwords Compared Without Constant-Time Function
Source: CVE Program / CVE List V5
Vulnerability Description
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 version 1.5.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过时间差异性导致的信息暴露
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
HKUDS LightRAG < 1.5.5 -

II. Public POCs for CVE-2026-85725

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85725

登录查看更多情报信息。

Patches & Fixes for CVE-2026-85725 (2)

Other References for CVE-2026-85725 (2)

Same Patch Batch · HKUDS · 2026-09-22 · 5 CVEs total

CVE-2026-85734 9.1 CRITICAL LightRAG: No Rate Limiting on /login Endpoint Allows Brute-Force Attacks
CVE-2026-85740 7.1 HIGH LightRAG: SSRF via IPv6-transition address bypass (NAT64, IPv4-compatible, 6to4) of the na
CVE-2026-86062 6.1 MEDIUM LightRAG: Stored Cross-Site Scripting (XSS) in the LightRAG WebUI chat/answer renderer via
CVE-2026-85709 5.3 MEDIUM LightRAG: Sensitive Information Exposure Through Raw Exception Messages in API Error Respo

IV. Related Vulnerabilities

V. Comments for CVE-2026-85725

No comments yet


Leave a comment