CVE-2026-39413: CWE-347: Improper Verification of Cryptographic Signature in HKUDS LightRAG
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.
AI Analysis
Technical Summary
HKUDS LightRAG before version 1.4.14 is vulnerable to a JWT algorithm confusion attack due to improper verification of cryptographic signatures (CWE-347). The jwt.decode() function does not explicitly reject tokens specifying the 'none' algorithm, allowing attackers to create unsigned tokens that are accepted as valid. This flaw enables unauthorized access by bypassing signature validation. The vulnerability is addressed in LightRAG version 1.4.14.
Potential Impact
An attacker can forge JWT tokens by specifying the 'none' algorithm in the token header, bypassing signature verification and gaining unauthorized access to the system. This compromises the confidentiality of the affected system but does not impact integrity or availability according to the CVSS vector.
Mitigation Recommendations
Upgrade HKUDS LightRAG to version 1.4.14 or later, where the vulnerability is fixed by properly rejecting tokens with the 'none' algorithm. No other mitigation is indicated as the fix is available in the updated version.
CVE-2026-39413: CWE-347: Improper Verification of Cryptographic Signature in HKUDS LightRAG
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
HKUDS LightRAG before version 1.4.14 is vulnerable to a JWT algorithm confusion attack due to improper verification of cryptographic signatures (CWE-347). The jwt.decode() function does not explicitly reject tokens specifying the 'none' algorithm, allowing attackers to create unsigned tokens that are accepted as valid. This flaw enables unauthorized access by bypassing signature validation. The vulnerability is addressed in LightRAG version 1.4.14.
Potential Impact
An attacker can forge JWT tokens by specifying the 'none' algorithm in the token header, bypassing signature verification and gaining unauthorized access to the system. This compromises the confidentiality of the affected system but does not impact integrity or availability according to the CVSS vector.
Mitigation Recommendations
Upgrade HKUDS LightRAG to version 1.4.14 or later, where the vulnerability is fixed by properly rejecting tokens with the 'none' algorithm. No other mitigation is indicated as the fix is available in the updated version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T00:23:30.595Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6b51c1cc7ad14daaa5ce6
Added to database: 4/8/2026, 8:05:48 PM
Last enriched: 4/8/2026, 8:21:33 PM
Last updated: 4/9/2026, 8:02:20 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.