Advisory

GHSA-9296-v3fr-j92j

Also known as: CVE-2026-1114, PYSEC-2026-170

Summary

LoLLMs is vulnerable to Improper Access Control through weak secret key

Details

In parisneo/lollms version 2.1.0, the application's session management is vulnerable to improper access control due to the use of a weak secret key for signing JSON Web Tokens (JWT). This vulnerability allows an attacker to perform an offline brute-force attack to recover the secret key. Once the secret key is obtained, the attacker can forge administrative tokens by modifying the JWT payload and resigning it with the cracked secret. This enables unauthorized users to escalate privileges, impersonate the administrator, and gain access to restricted endpoints. The issue is resolved in version 2.2.0.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-04-07 09:31 UTC
Modified
2026-07-07 23:56 UTC

Affected packages and fixes

lollms

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.0 (ecosystem)

Fixed versions

2.2.0

Fix

  • Fixed version 2.2.0
    pip install --upgrade lollms==2.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences