CVE-2026-1114: LoLLMs is vulnerable to Improper Access Control through weak secret key
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.
Published Apr 7, 2026 · Updated Jul 7, 2026
Affected packages
lollms
- Ecosystem
- PyPI
- Affected
- < 2.2.0
- Fixed in
- 2.2.0
- Check
pip show lollms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-1114
- https://github.com/parisneo/lollms/commit/a3b2b82b84d537a9da63e63a370a6a8ad55fed34
- https://huntr.com/bounties/608b2a3b-2225-438e-9e61-ffbfdec2ed89
- https://github.com/pypa/advisory-database/tree/main/vulns/lollms/PYSEC-2026-170.yaml
- https://github.com/advisories/GHSA-9296-v3fr-j92j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
