CVE-2024-6085 Path Traversal in parisneo/lollms

High 8.6 Published Updated

Attackers can bypass path traversal protections by changing the root folder to '/', allowing arbitrary file reading and writing on the system.

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-6085?

CVE-2024-6085 is a high-severity path traversal vulnerability in parisneo/lollms, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A path traversal vulnerability exists in the XTTS server included in the lollms package, version v9.6. This vulnerability arises from the ability to perform an unauthenticated root folder settings change. Although the read file endpoint is protected against path traversals, this protection can be bypassed by changing the root folder to '/'. This allows attackers to read arbitrary files on the system. Additionally, the output folders can be changed to write arbitrary audio files to any location on the system.

Weakness: CWE-22

Which versions are affected by CVE-2024-6085?

3 open source packages ship an affected version, including lollms.

PackageAffectedFixed in
lollms PyPIAll versions to 9.5.1None
lollms PyPIAll versions to 9.5.1None
lollms PyPIAll versions to 9.5.1None

How do I fix CVE-2024-6085?

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

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

Sources

Also known as GHSA-9chm-m6x2-6fvc, PYSEC-2026-1588.

Is CVE-2024-6085 in your software?

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

Check your SBOMs for free