RCE in Lollms
CVE-2024-3121
A remote code execution vulnerability exists in the create_conda_env function of the parisneo/lollms repository, version 5.9.0. The vulnerability arises from the use of shell=True in the subprocess.Popen function, which allows an attacker to inject arbitrary commands by manipulating the env_name and python_version parameters. This issue could lead to a serious security breach as demonstrated by the ability to execute the 'whoami' command among potentially other harmful commands.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 39.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lollms — versions 5.9.0
- Parisneo Parisneo/lollms — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- dark-ninja10/CVE-2024-3121 (last pushed 2025-07-22): Remote Code Execution in create_conda_env function in parisneo/lollms
Also mentioned in 1 other repository (nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.