{"id":"CVE-2024-2361","details":"A vulnerability in the parisneo/lollms-webui allows for arbitrary file upload and read due to insufficient sanitization of user-supplied input. Specifically, the issue resides in the `install_model()` function within `lollms_core/lollms/binding.py`, where the application fails to properly sanitize the `file://` protocol and other inputs, leading to arbitrary read and upload capabilities. Attackers can exploit this vulnerability by manipulating the `path` and `variant_name` parameters to achieve path traversal, allowing for the reading of arbitrary files and uploading files to arbitrary locations on the server. This vulnerability affects the latest version of parisneo/lollms-webui.","modified":"2026-04-10T05:09:32.761760Z","published":"2024-05-16T09:15:10.060Z","references":[{"type":"FIX","url":"https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/parisneo/lollms-webui","events":[{"introduced":"0"},{"fixed":"eaa0b2035034d2cefcc536eb7d17a765dae4a6b4"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"9.5"}]}}],"versions":["v0.0.1","v0.0.2","v0.0.3","v0.0.5","v0.0.6","v0.0.7","v0.0.8","v0.0.9","v3.0","v3.5","v4.0","v5.0","v6.0","v6.5","v6.5.0","v6.5rc2","v6.7","v7.0","v8.5","v9.0","v9.1","v9.2","v9.3","v9.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2361.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}