{"id":"CVE-2024-4078","aliases":["CVE-2024-4078","GHSA-pwc9-q4hj-pg8g","PYSEC-2026-1593"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution in parisneo/lollms","summary":"A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en parisneo/lollms, específicamente en el endpoint `/unInstall_binding`, permite la ejecución de código arbitrario debido a una sanitización insuficiente de la entrada del usuario. El problema surge de la falta de sanitización de rutas al manejar el parámetro `name` en la función `unInstall_binding`, lo que permite a un atacante atravesar directorios y ejecutar código arbitrario cargando un archivo `__init__.py` malicioso. Esta vulnerabilidad afecta a la última versión del software. La explotación de esta vulnerabilidad podría conducir a la ejecución remota de código en el sistema donde está implementado parisneo/lollms.","source":"nvd"}],"published":"2024-05-16T09:03:49.562Z","modified":"2026-07-07T17:57:04.498Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"main","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms","source":"cvelist"},{"ranges":[{"version":"1.4.6","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.5.0"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.5.0"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4078","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-pwc9-q4hj-pg8g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-05-16T14:55:26.479Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4078","url":"https://www.cve.org/CVERecord?id=CVE-2024-4078","licence":"CVE Terms of Use","modified":"2024-08-08T14:40:25.921Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pwc9-q4hj-pg8g","url":"https://github.com/advisories/GHSA-pwc9-q4hj-pg8g","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:04.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4078","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4078","licence":"Public domain","modified":"2026-06-17T08:01:03.917Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1593","url":"https://osv.dev/vulnerability/PYSEC-2026-1593","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:56.160Z"}],"updatedAt":"2026-11-25T22:58:40.432Z","epss":{"score":0.00924,"percentile":0.61428,"date":"2026-12-01T12:00:22.000Z"}}