LoLLMS Code Injection vulnerability
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | lollms | < 11.0.0 | 11.0.0 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2024-6982
- https://github.com/parisneo/lollms/commit/30e7eaba2ccfb751a81e7cb29fdef2ae8ffa6832
- https://github.com/ParisNeo/lollms
- https://huntr.com/bounties/4f8e73ac-aaaf-4d5c-a6dd-58215b5a7fea
- https://pypi.org/project/lollms
- https://github.com/advisories/GHSA-jccx-m9v4-9hwh
- Vector CVSS
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-94- Plataforma
- Python (PyPI)
- Paquete
lollms- Publicada
- 20.03.2025
- Actualizado
- 11.10.2026 13:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1591 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jccx-m9v4-9hwh - CC BY 4.0
Historial de vulnerabilidades: lollms
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 24
- Primera → última
- 05.2024 04.2026
- Sin corrección
- 9
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 6
- Alta 12
- Media 5
- Baja 1
Divulgaciones por año
- 2024: 14
- 2025: 2
- 2026: 8
-
LoLLMS Code Injection vulnerability esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.