CVE-2024-9597 Path Traversal in parisneo/lollms
An attacker can delete arbitrary directories on the system via a path traversal vulnerability in the wipe_database endpoint of lollms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-9597?
CVE-2024-9597 is a high-severity path traversal vulnerability in parisneo/lollms, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A Path Traversal vulnerability exists in the `/wipe_database` endpoint of parisneo/lollms version v12, allowing an attacker to delete any directory on the system. The vulnerability arises from improper validation of the `key` parameter, which is used to construct file paths. An attacker can exploit this by sending a specially crafted HTTP request to delete arbitrary directories.
Weakness: CWE-22
Which versions are affected by CVE-2024-9597?
How do I fix CVE-2024-9597?
No fix has been published for CVE-2024-9597 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-9597 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9597 exists.
Sources
Also known as GHSA-67hg-xcw3-33fm.