LOLLMS · CVE-2024-4315 · AI agents & MCP
FIX → 9.5.0
lollms, a Python tool for running local language models, fails to sanitize Windows-style backslash paths in its endpoints. An attacker can use directory traversal to read or delete any file on a Windows server.
first public Jun 12, 2024 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running lollms on Windows, especially where its web endpoints such as personalities and preset deletion are reachable by other users or the network. Linux-only deployments are not described as affected by the sources. Teams on 9.5.0 or later can skip it.
Not affected if linux-only, version-9.5.0-or-later
Who cares ai-apps, lollms, python, windows
pip show lollms; versions below 9.5.0 are affected.Upgrade to 9.5.0
9.5.0 or later.parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The sanitize_path_from_endpoint function fails to properly sanitize Windows-style paths (backward slash \), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including personalities and /del_preset, to read or delete any file on the Windows filesystem, compromising the system's availability.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.