PyPi: Lollms

CVE-2024-6985

Safety vulnerability ID: 78787

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 11, 2024 Updated at Aug 18, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of the lollms package are vulnerable to Path Traversal due to improper sanitization of the personality_folder parameter. The api open_personality_folder endpoint in the Lollms package fails to adequately validate or sanitize the personality_folder input, allowing directory traversal sequences to bypass the sanitize_path logic. An attacker can exploit this by crafting input that navigates out of the intended directory and reads arbitrary files on the host’s filesystem, potentially disclosing sensitive data located outside the designated personality folder.

Affected package

lollms

Latest version: 11.0.0

A python library for AI personality definition

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 4.4

CVSS v3 Details

MEDIUM 4.4
Attack Vector (AV)
LOCAL
Attack Complexity (AC)
LOW
Privileges Required (PR)
HIGH
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE