MEDIUM4.4
PYSEC-2024-122
Quick fix
PYSEC-2024-122 — lollms: upgrade to the fixed version with the command below.
pip install --upgrade 'lollms>=28ee567a9a120967215ff19b96ab7515ce469620'Details
A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/lollms
Introduced in:
0Fixed in: 28ee567a9a120967215ff19b96ab7515ce469620Fix
pip install --upgrade 'lollms>=28ee567a9a120967215ff19b96ab7515ce469620'