Remote Code Execution in Calculate Function in parisneo/lollms
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parisneo | parisneo/lollms | before 9.10 | 9.10 | Patch available | CNA |
| — | lollms (PyPI) | before 11.0.0 | 11.0.0 | Patch available | GHSA-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
- 2026-10-02 Threatist record created from CVE-2024-6982
- 2026-10-03 Alias added: GHSA-jccx-m9v4-9hwh
References
More parisneo vulnerabilities
- 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
Sources
- CVE-2024-6982 · CVE Program
- CVE-2024-6982 · NVD
- FIRST EPSS
- GHSA-jccx-m9v4-9hwh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences