Read the docs
TI-2024-06480 Aliases CVE-2024-6982GHSA-jccx-m9v4-9hwh

Remote Code Execution in Calculate Function in parisneo/lollms

Priority HIGH 72CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

A remote code execution vulnerability exists in the Calculate function of parisneo/lollms version 9.8. The vulnerability arises from the use of Python's `eval()` function to evaluate mathematical expressions within a Python sandbox that disables `__builtins__` and only allows functions from the `math` module. This sandbox can be bypassed by loading the `os` module using the `_frozen_importlib.BuiltinImporter` class, allowing an attacker to execute arbitrary commands on the server. The issue is fixed in version 9.10.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0046 40th percentileScored 2026-11-07
Fix Fixed parisneo/lollms (parisneo): 9.10lollms (PyPI): 11.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
parisneoparisneo/lollmsbefore 9.109.10Patch availableCNA
—lollms (PyPI)before 11.0.011.0.0Patch availableGHSA-jccx-m9v4-9hwh
  • parisneo/lollms Vendorparisneo Affected before 9.10 Fixed in 9.10 Patch available CNA
  • lollms (PyPI) Vendor— Affected before 11.0.0 Fixed in 11.0.0 Patch available GHSA-jccx-m9v4-9hwh

Remediation

  • Fix · CNA parisneo/lollms (parisneo) Fixed in 9.10
  • Fix · GHSA-jccx-m9v4-9hwh lollms (PyPI) Fixed in 11.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-6982
  2. 2026-10-03 Alias added: GHSA-jccx-m9v4-9hwh

References

  • TI-2026-00842 Improper Access Control via Weak JWT Token in parisneo/lollms CVSS 3.0CRITICAL 9.8
  • TI-2024-05059 Remote Code Execution via Path Traversal in parisneo/lollms CVSS 3.0CRITICAL 9.8
  • TI-2024-04029 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui CVSS 3.0CRITICAL 9.8
  • TI-2024-04023 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui CVSS 3.1CRITICAL 9.8
  • TI-2024-03798 Arbitrary Code Execution in parisneo/lollms CVSS 3.0CRITICAL 9.8
  • TI-2024-02196 Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui CVSS 3.0CRITICAL 9.6
See all 83 →

Sources