# CVE-2024-3121: Remote Code Execution in create_conda_env function in parisneo/lollms

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-24T00:00:14.165Z
- Modified: 2026-07-07T17:56:50.302Z
- Also known as: GHSA-79h8-gxhq-q3jg, PYSEC-2026-1584
- Weaknesses: CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms: from unspecified up to latest
- parisneo lollms: 5.9.0
- lollms (PyPI): up to 9.5.1
- lollms lollms: 5.9.0

## Every score

- @huntr_ai: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3121> (advisory)
- <https://github.com/ParisNeo/lollms> (package)
- <https://pypi.org/project/lollms> (package)
- <https://github.com/advisories/GHSA-79h8-gxhq-q3jg> (advisory)

## Sources

- CVE List: [CVE-2024-3121](https://www.cve.org/CVERecord?id=CVE-2024-3121), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-79h8-gxhq-q3jg](https://github.com/advisories/GHSA-79h8-gxhq-q3jg), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-3121](https://nvd.nist.gov/vuln/detail/CVE-2024-3121), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1584](https://osv.dev/vulnerability/PYSEC-2026-1584), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-3121 · Whole record: https://cve.day/CVE-2024-3121.json · Rebuilt by cve.day 2026-11-25T22:58:42.149Z
