cve.bz

CVE-2024-6982

8.4 highEPSS 0.5%

High (8.4). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in lollms 11.0.0.

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.

Severity

CVSS 3.0

8.4 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 39% of CVEs (scores of 2026-10-31)
CWE
CWE-94
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jccx-m9v4-9hwhPyPIlollms<11.0.011.0.0
PYSEC-2026-1591PyPIlollms<11.0.011.0.0

References

Check your stackJSON