CVE-2024-4841: Path Traversal in parisneo/lollms-webui add_reference_to_local_model endpoint
- Vendors
- ParisneoLollms
CVE-2024-4841 is a path traversal vulnerability in parisneo/lollms-webui affecting versions from v9.6 through the latest reported vulnerable release. The flaw is attributed to insufficient sanitization of user-supplied input in the add_reference_to_local_mode function when processing the path parameter sent to the /add_reference_to_local_model endpoint. By supplying crafted path values, an attacker can traverse directories outside the intended scope and cause the application to reveal information about folders, subfolders, and files present on the host system.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to enumerate the target system's directory structure and infer the presence of files and subdirectories outside the intended application boundary. This results in unauthorized disclosure of filesystem information, which can aid follow-on attacks by exposing host layout, installed components, application data locations, and other sensitive environmental details.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the affected endpoint to trusted users and networks only, disable or remove the vulnerable functionality if operationally feasible, and place the application behind authentication and network-layer controls. Run the service with the minimum filesystem privileges necessary and isolate it from sensitive host directories to reduce exposure from path-based enumeration.
Remediation
Patch, then assume compromise.
Upgrade to a fixed release of parisneo/lollms-webui once a vendor patch is available. The vulnerable code path should be corrected by strictly validating and canonicalizing the supplied path parameter, restricting access to an explicit allowlisted base directory, and rejecting traversal sequences and equivalent encoded forms. Server-side checks should ensure resolved paths cannot escape the intended local model reference directory.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-4841 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-4841?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2024-4841.
- Is there a patch for CVE-2024-4841?
- Upgrade to a fixed release of parisneo/lollms-webui once a vendor patch is available. The vulnerable code path should be corrected by strictly validating and canonicalizing the supplied path parameter, restricting access to an explicit allowlisted base directory, and rejecting traversal sequences and equivalent encoded forms.
- What products are affected by CVE-2024-4841?
- Parisneo Lollms-Webui and Lollms-Webui.
- How severe is CVE-2024-4841?
- CVE-2024-4841 has a CVSS v3.1 score of 3.3 (Low) and an EPSS score of 0.67% (53rd percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.