Advisory

PYSEC-2026-1586

Also known as: CVE-2026-1117, GHSA-82fw-ch24-j34w

Summary

Lollms has an Improper Access Control vulnerability

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.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

lollms

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.0 (ecosystem)

Fixed versions

2.1.0

Fix

  • Fixed version 2.1.0
    pip install --upgrade lollms==2.1.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: PyPA Advisory Database · CC BY 4.0

Sources & licences