{"id":"CVE-2024-3121","aliases":["CVE-2024-3121","GHSA-79h8-gxhq-q3jg","PYSEC-2026-1584"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution in create_conda_env function in parisneo/lollms","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A remote code execution vulnerability exists in the create_conda_env function of the parisneo/lollms repository. 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de ejecución remota de código en la función create_conda_env del repositorio parisneo/lollms, versión 5.9.0. La vulnerabilidad surge del uso de shell=True en la función subprocess.Popen, que permite a un atacante inyectar comandos arbitrarios manipulando los parámetros env_name y python_version. Este problema podría provocar una grave violación de la seguridad, como lo demuestra la capacidad de ejecutar el comando \"whoami\" entre otros comandos potencialmente dañinos.","source":"nvd"}],"published":"2024-06-24T00:00:14.165Z","modified":"2026-07-07T17:56:50.302Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-78","CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms","source":"cvelist"},{"ranges":[{"version":"5.9.0","status":"affected"}],"vendor":"parisneo","product":"lollms","cpe":"cpe:2.3:a:parisneo:lollms:5.9.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"9.5.1"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"ghsa"},{"ranges":[{"status":"affected","version":"5.9.0"}],"vendor":"lollms","product":"lollms","cpe":"cpe:2.3:a:lollms:lollms:5.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"9.5.1"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/db57c343-9b80-4c1c-9ab0-9eef92c9b27b","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3121","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ParisNeo/lollms","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/lollms","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-79h8-gxhq-q3jg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-06-26T19:04:19.373Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-3121","url":"https://www.cve.org/CVERecord?id=CVE-2024-3121","licence":"CVE Terms of Use","modified":"2024-08-01T19:32:42.719Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-79h8-gxhq-q3jg","url":"https://github.com/advisories/GHSA-79h8-gxhq-q3jg","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:50.302Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-3121","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3121","licence":"Public domain","modified":"2026-06-17T07:43:21.180Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1584","url":"https://osv.dev/vulnerability/PYSEC-2026-1584","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:14.698Z"}],"updatedAt":"2026-11-25T22:58:42.149Z","epss":{"score":0.00446,"percentile":0.40548,"date":"2026-12-01T12:00:22.000Z"}}