CVE-2024-6139 Path Traversal in parisneo/lollms
An attacker can write audio files to arbitrary locations and enumerate file paths via the XTTS server endpoint in the lollms library.
- 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-6139?
CVE-2024-6139 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 of the parisneo/lollms package version v9.6. This vulnerability allows an attacker to write audio files to arbitrary locations on the system and enumerate file paths. The issue arises from improper validation of user-provided file paths in the `tts_to_file` endpoint.
Weakness: CWE-29
Which versions are affected by CVE-2024-6139?
3 open source packages ship an affected version, including lollms.
| Package | Affected | Fixed in |
|---|---|---|
lollms PyPI | All versions to 9.5.1 | None |
lollms PyPI | All versions to 9.5.1 | None |
lollms PyPI | All versions to 9.5.1 | None |
How do I fix CVE-2024-6139?
No fix has been published for CVE-2024-6139 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-6139 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6139 exists.
Sources
Also known as GHSA-w9qf-83jg-2x6c, PYSEC-2026-1594.