{"id":"CVE-2024-6281","aliases":["GHSA-8mrm-r7h3-c3hj","PYSEC-2026-1587"],"title":"LoLLMS vulnerable to Expected Behavior Violation","summary":"LoLLMS vulnerable to Expected Behavior Violation","severity":"high","cvss":7.3,"cvssVector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","vendor":"lollms","product":"lollms","ecosystem":"pip","affected":["lollms < 9.5.1"],"patched":["lollms 9.5.1"],"published":"2024-07-20","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-8mrm-r7h3-c3hj","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6281"},{"url":"https://github.com/parisneo/lollms/commit/26a3ff35acf152b49e1087d5698ad4864c7b6092"},{"url":"https://github.com/parisneo/lollms"},{"url":"https://huntr.com/bounties/0a62f2fb-4e62-4128-9dc4-e8f1d959ac61"}],"tags":["osv","pip"],"epss":0.00265,"epssPercentile":0.18664,"ingestedAt":"2026-07-08T18:25:47.522Z","slug":"CVE-2024-6281","body":"## Overview\n\nA path traversal vulnerability exists in the `apply_settings` function of parisneo/lollms versions prior to 9.5.1. The `sanitize_path` function does not adequately secure the `discussion_db_name` parameter, allowing attackers to manipulate the path and potentially write to important system folders.\n\n## Affected packages\n\n- `lollms < 9.5.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `lollms 9.5.1`","depth":"twilight","depthScore":40,"depthScoreParts":{"impact":40.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}