CVE-2024-3121

LOW

lollms 5.9.0 - Remote Code Execution via create_conda_env Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-3121. PoCs published by dark-ninja10.

AI-analyzed exploit summary The repository contains a functional exploit for CVE-2024-3121, demonstrating a shell injection vulnerability in the `create_conda_env` function of the `lollms` framework. The exploit leverages unsanitized input in the `env_name` parameter to execute arbitrary commands via `subprocess.Popen` with `shell=True`.

Description

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.

Exploits (1)

nomisec WORKING POC
by dark-ninja10 · poc
https://github.com/dark-ninja10/CVE-2024-3121

The repository contains a functional exploit for CVE-2024-3121, demonstrating a shell injection vulnerability in the `create_conda_env` function of the `lollms` framework. The exploit leverages unsanitized input in the `env_name` parameter to execute arbitrary commands via `subprocess.Popen` with `shell=True`.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: parisneo/lollms
No auth needed
Prerequisites: Access to the `env_name` input parameter in the `create_conda_env` function
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 3.3
EPSS 0.0015
EPSS Percentile 35.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-78 CWE-94
Status published
Products (2)
lollms/lollms 5.9.0
pypi/lollms 0PyPI
Published Jun 24, 2024
Tracked Since Feb 18, 2026