VDB
Sign up
HIGH8.2

PYSEC-2026-1586

Lollms has an Improper Access Control vulnerability

Quick fix

PYSEC-2026-1586 — lollms: upgrade to the fixed version with the command below.

pip install --upgrade 'lollms>=2.1.0'

Details

A vulnerability in the `lollms_generation_events.py` component of parisneo/lollms version 5.9.0 allows unauthenticated access to sensitive Socket.IO events. The `add_events` function registers event handlers such as `generate_text`, `cancel_generation`, `generate_msg`, and `generate_msg_from` without implementing authentication or authorization checks. This allows unauthenticated clients to execute resource-intensive or state-altering operations, leading to potential denial of service, state corruption, and race conditions. Additionally, the use of global flags (`lollmsElfServer.busy`, `lollmsElfServer.cancel_gen`) for state management in a multi-client environment introduces further vulnerabilities, enabling one client's actions to affect the server's state and other clients' operations. The lack of proper access control and reliance on insecure global state management significantly impacts the availability and integrity of the service.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/lollms
Introduced in: 0Fixed in: 2.1.0
Fixpip install --upgrade 'lollms>=2.1.0'

References