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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | lollms | < 11.0.0 | 11.0.0 |
Verweise
- 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
- CVSS-Vektor
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-94- Plattform
- Python (PyPI)
- Paket
lollms- Veröffentlicht
- 20.03.2025
- Aktualisiert
- 11.10.2026 13:18
Quellen und Lizenzen
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
Schwachstellenhistorie: lollms
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 24
- Erste → letzte
- 05.2024 04.2026
- Ohne Fix
- 9
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 6
- Hoch 12
- Mittel 5
- Niedrig 1
Veröffentlichungen pro Jahr
- 2024: 14
- 2025: 2
- 2026: 8
-
LoLLMS Code Injection vulnerability dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.