{"id":"CVE-2024-2178","summary":"Path Traversal Vulnerability in parisneo/lollms-webui","details":"A path traversal vulnerability exists in the parisneo/lollms-webui, specifically within the 'copy_to_custom_personas' endpoint in the 'lollms_personalities_infos.py' file. This vulnerability allows attackers to read arbitrary files by manipulating the 'category' and 'name' parameters during the 'Copy to custom personas folder for editing' process. By inserting '../' sequences in these parameters, attackers can traverse the directory structure and access files outside of the intended directory. Successful exploitation results in unauthorized access to sensitive information.","modified":"2026-08-12T03:51:40.367672699Z","published":"2024-06-02T10:52:32.063Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-29"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2178.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/e585f1dd-a026-4419-8f42-5835e85fad9e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2178.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2178"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/parisneo/lollms-webui","events":[{"introduced":"0"},{"fixed":"aeba79f3ea934331b8ecd625a58bae6e4f7e7d3f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"9.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*"}}],"versions":["v9.3","v9.2","v9.1","v9.0","v8.5","v7.0","v6.7","v6.5.0","v6.5rc2","v6.5","v6.0","v5.0","v4.0","v3.5","v3.0","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2178.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}