{"id":"CVE-2024-6281","aliases":["PYSEC-2026-1587"],"url":"https://o3.security/vulnerability/CVE-2024-6281","summary":"LoLLMS vulnerable to Expected Behavior Violation","details":"A 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.","published":"2024-07-20T06:30:35Z","modified":"2026-07-07T17:57:08.386280984Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"},"epss":{"score":0.00265,"percentile":0.18602,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"lollms","fixedVersion":"9.5.1"}],"fix":{"url":"https://github.com/parisneo/lollms/commit/26a3ff35acf152b49e1087d5698ad4864c7b6092","label":"parisneo/lollms@26a3ff3"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6281"},{"type":"WEB","url":"https://github.com/parisneo/lollms/commit/26a3ff35acf152b49e1087d5698ad4864c7b6092"},{"type":"PACKAGE","url":"https://github.com/parisneo/lollms"},{"type":"WEB","url":"https://huntr.com/bounties/0a62f2fb-4e62-4128-9dc4-e8f1d959ac61"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:57:08.386280984Z"}}