SecurityContext

CVE-2024-6982: parisneo lollms - Remote Code Execution

  • Cve: CVE-2024-6982
  • Name: parisneo lollms - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to version 9.10 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0046
  • Epss percentile: 0.40698
  • Assignee: [email protected]
  • Published at: 2025-03-20T10:15:34Z
  • Age in days: 614
  • Modified at: 2026-06-17T08:19:07Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-6982
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
https://github.com/parisneo/lollms/commit/30e7eaba2ccfb751a81e7cb29fdef2ae8ffa6832nvd
https://huntr.com/bounties/4f8e73ac-aaaf-4d5c-a6dd-58215b5a7feanvd

Projects

RepositoryLink kindsIndexedUrl
ParisNeo/lollmscommit, packageyes/v1/repositories/ParisNeo/lollms

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts