CVE-2024-6982
published high CVSS 3.0 · 8.4Remote Code Execution in Calculate Function in parisneo/lollms
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| parisneo | — | parisneo/lollmsunspecified to < 9.10 | Affected | Not stated | @huntr_ai |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| parisneo | parisneo/lollms | unspecified to < 9.10 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code
References
2Provider assertions
2@huntr_ai · cna
Remote Code Execution in Calculate Function in parisneo/lollms
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1a6b6b1f2afa119e6d09e6ca338f67ef6c6578973e04a0c7a0d69bcba3ada9c9
- Ingested
- 23 Sep 2026, 08:33:35 UTC
- Source record
- Official CVE record