Advisory record · GHSA-mcww-4hxq-hfr3

LightRAG: Hardcoded JWT Signing Secret Allows Authentication Bypass

CVSS 7.5 High

Published by the GitHub Advisory Database at 4 Apr 2026, 06:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
lightrag-hkuPyPI<1.4.131.4.13
Identifiers
GHSA-mcww-4hxq-hfr3 · CVE-2026-30762 · PYSEC-2026-2593
Weakness (CWE)
CWE-287
Published
4 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

LightRAG (lightrag-hku) versions before 1.4.13 are affected. When the TOKEN_SECRET environment variable is not set and authentication accounts are configured, the software signs and verifies login tokens with a hardcoded default secret. A remote, unauthenticated attacker who knows this default can forge tokens and access protected endpoints. Upgrade to lightrag-hku 1.4.13 or later, and set TOKEN_SECRET to a unique value.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:43 UTC First seen by agentprime
  2. 31 Oct 2026, 14:43 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.