{"id":"CVE-2024-6281","published":"2024-07-20T03:19:25Z","modified":"2025-10-15T12:50:33Z","title":"Path Traversal in parisneo/lollms","vendor":"parisneo","product":"parisneo/lollms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00265,"percentile":0.18785,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/0a62f2fb-4e62-4128-9dc4-e8f1d959ac61","tags":[]},{"url":"https://github.com/parisneo/lollms/commit/26a3ff35acf152b49e1087d5698ad4864c7b6092","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.76},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[">= unspecified, < 9.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-23T15:08:15.333045Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lollms","vulnerableRanges":["<9.5.1"],"patched":["9.5.1"],"from":["GHSA-8mrm-r7h3-c3hj","PYSEC-2026-1587"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the apply_settings function of the parisneo/lollms product, where the sanitize_path function fails to adequately secure the discussion_db_name parameter. An attacker who can reach the affected function can manipulate that parameter to write to important system folders, with the attack requiring local access and no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:53Z"},"euvd":{"id":"EUVD-2024-2301","exploited":false,"provenance":"source"}}