Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39413: CWE-347: Improper Verification of Cryptographic Signature in HKUDS LightRAG

0
Medium
VulnerabilityCVE-2026-39413cvecve-2026-39413cwe-347
Published: Wed Apr 08 2026 (04/08/2026, 19:41:23 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: 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

AILast updated: 04/22/2026, 22:41:20 UTC

Technical Analysis

LightRAG versions before 1.4.14 are vulnerable to a JWT algorithm confusion attack due to improper verification of cryptographic signatures (CWE-347). Specifically, the jwt.decode() function does not explicitly reject tokens specifying 'alg': 'none' in the JWT header, allowing unsigned tokens to be accepted as valid. This flaw enables attackers to forge JWT tokens and bypass authentication controls. The issue is resolved in LightRAG version 1.4.14.

Potential Impact

Successful exploitation allows an attacker to bypass authentication by presenting forged JWT tokens without valid signatures, leading to unauthorized access. The vulnerability does not affect integrity or availability directly but compromises confidentiality by allowing unauthorized access. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Upgrade LightRAG to version 1.4.14 or later, where the vulnerability is fixed by explicitly rejecting tokens with the 'none' algorithm. Since no official patch link or advisory is provided, verify the upgrade from the vendor's official release notes or repository. Until upgraded, avoid accepting JWT tokens that do not have a valid signature algorithm.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/22/2026, 10:41:20 PM

Last updated: 5/23/2026, 6:46:54 PM

Views: 71

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses