lightrag-hku: JWT Algorithm Confusion Vulnerability
CVE-2026-39413 · GHSA-8ffj-4hx4-9pgf · published 2026-04-08 · updated 2026-05-09
- Severity
- Medium
- CVSS score
- 4.2
- Chance of exploitation (EPSS)
- 0.20%
- Fixed in
- 1.4.14
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
An attacker can impersonate any user, including administrators, by forging a JWT with 'alg': 'none', gaining full access to protected resources without needing valid credentials.
Upgrade lightrag-hku to 1.4.14 or later.
Explicitly specify allowed algorithms and exclude 'none'. Or better yet, hardcode the expected algorithm(s):
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| lightrag-hku | PyPI | <= 1.4.13 | 1.4.14 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- Criticallightrag-hku: No Rate Limiting on /login Endpoint Allows Brute-Force Attackslightrag-hku
- CriticalLightRAG: CORS Wildcard + Credentials Enables Any-Origin Credentialed Requestslightrag-hku
- CriticalLightRAG is Vulnerable to Authentication Bypass: hardcoded DEFAULT_TOKEN_SECRET and public /auth-status defeat LIGHTRAG_API_KEY protectionlightrag-hku
- Highlightrag-hku: SSRF via IPv6-transition address bypass (NAT64, IPv4-compatible, 6to4) of the native-markdown image-download guardlightrag-hku
- HighLightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypasslightrag-hku
- Mediumlightrag-hku: Plaintext Passwords Compared Without Constant-Time Functionlightrag-hku
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.