{"id":"CVE-2024-3322","aliases":["CVE-2024-3322"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in parisneo/lollms-webui","summary":"A path traversal vulnerability exists in the 'cyber_security/codeguard' native personality of the parisneo/lollms-webui, affecting versions up to 9.5. The vulnerability arises from the improper limitation of a pathname to a restricted directory in the 'process_folder' function within 'lollms-webui/zoos/personalities_zoo/cyber_security/codeguard/scripts/processor.py'. Specifically, the function fails to properly sanitize user-supplied input for the 'code_folder_path', allowing an attacker to specify arbitrary paths using '../' or absolute paths. This flaw leads to arbitrary file read and overwrite capabilities in specified directories without limitations, posing a significant risk of sensitive information disclosure and unauthorized file manipulation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A path traversal vulnerability exists in the 'cyber_security/codeguard' native personality of the parisneo/lollms-webui, affecting versions up to 9.5. The vulnerability arises from the improper limitation of a pathname to a restricted directory in the 'process_folder' function within 'lollms-webui/zoos/personalities_zoo/cyber_security/codeguard/scripts/processor.py'. Specifically, the function fails to properly sanitize user-supplied input for the 'code_folder_path', allowing an attacker to specify arbitrary paths using '../' or absolute paths. This flaw leads to arbitrary file read and overwrite capabilities in specified directories without limitations, posing a significant risk of sensitive information disclosure and unauthorized file manipulation.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de path traversal en la personalidad nativa 'cyber_security/codeguard' de parisneo/lollms-webui, que afecta a las versiones hasta la 9.5. La vulnerabilidad surge de la limitación inadecuada de un nombre de ruta a un directorio restringido en la función 'process_folder' dentro de 'lollms-webui/zoos/personalities_zoo/cyber_security/codeguard/scripts/processor.py'. Específicamente, la función no sanitiza adecuadamente la entrada proporcionada por el usuario para 'code_folder_path', lo que permite a un atacante especificar rutas arbitrarias usando '../' o rutas absolutas. Esta falla genera capacidades arbitrarias de lectura y sobrescritura de archivos en directorios específicos sin limitaciones, lo que plantea un riesgo significativo de divulgación de información confidencial y manipulación no autorizada de archivos.","source":"nvd"}],"published":"2024-06-06T18:40:18.402Z","modified":"2026-06-17T07:43:47.040Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"9.5","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms-webui","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"9.5","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.5"}],"vendor":"lollms","product":"lollms_web_ui","cpe":"cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/e0822362-033a-4a71-b1dc-d803f03bd427","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/parisneo/lollms-webui/commit/1e17df01e01d4d33599db2afaafe91d90b6f0189","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-07-19T12:30:37.492Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-3322","url":"https://www.cve.org/CVERecord?id=CVE-2024-3322","licence":"CVE Terms of Use","modified":"2024-08-01T20:05:08.477Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-3322","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3322","licence":"Public domain","modified":"2026-06-17T07:43:47.040Z"}],"updatedAt":"2026-11-25T22:58:41.512Z","epss":{"score":0.00726,"percentile":0.55333,"date":"2026-12-01T12:00:22.000Z"}}