CVE-2024-3121
LOW 3.3CVSS 3.1Remote Code Execution in create_conda_env function in lollms
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.
- Published
- 24 Jun 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-79h8-gxhq-q3jgPYSEC-2026-1584
- Sources
- NVDJSONOSV GHSA-79h8-gxhq-q3jgJSONOSV PYSEC-2026-1584JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.8 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.8 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.8 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lollms | lollmscpe:2.3:a:lollms:lollms:5.9.0:*:*:*:*:*:*:* |
= 5.9.0 | |
| OSV | PyPI | lollms | <= 9.5.1 |
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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 24 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jun 2024)