CVE-2024-8581 Path Traversal in parisneo/lollms-webui

Critical 9.1 Published Updated

An attacker can delete arbitrary files or directories on the system via path traversal in the upload function of lollms-webui.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8581?

CVE-2024-8581 is a critical path traversal vulnerability in parisneo/lollms-webui, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in the `upload_app` function of parisneo/lollms-webui V12 (Strawberry) allows an attacker to delete any file or directory on the system. The function does not implement user input filtering with the `filename` value, causing a Path Traversal error.

Weakness: CWE-22

Which versions are affected by CVE-2024-8581?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-8581?

No fix has been published for CVE-2024-8581 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-8581 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8581 exists.

Sources

Also known as GHSA-w6r4-j5cm-c7fp.

Is CVE-2024-8581 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free