CVE-2024-6982parisneo/lollms
High 8.4
Follow: this CVE · parisneo · parisneo/lollms We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.0
- 8.4
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- Yes
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for parisneo/lollms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lollms |
< 11.0.0 |
11.0.0 |
pip install "lollms>=11.0.0" |
| PyPI | lollms |
< 11.0.0 |
11.0.0 |
pip install "lollms>=11.0.0" |
Per OSV / GitHub Advisories (GHSA-jccx-m9v4-9hwh, PYSEC-2026-1591). Check the version in your lockfile before upgrading.
Affected products
- parisneo · parisneo/lollms
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.