CVE-2024-6281
HIGH 7.3CVSS 3.0LoLLMS vulnerable to Expected Behavior Violation
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
- 20 Jul 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-22CWE-440
- Also known as
- GHSA-8mrm-r7h3-c3hjPYSEC-2026-1587
- Sources
- NVDJSONOSV GHSA-8mrm-r7h3-c3hjJSONOSV PYSEC-2026-1587JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N | |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | lollms | < 9.5.1 | 9.5.1 |
References
- https://github.com/parisneo/lollms/commit/26a3ff35acf152b49e1087d5698ad4864c7b6092 · WEB
- https://huntr.com/bounties/0a62f2fb-4e62-4128-9dc4-e8f1d959ac61 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6281 · ADVISORY
- https://github.com/parisneo/lollms · PACKAGE
- https://pypi.org/project/lollms · PACKAGE
- https://github.com/advisories/GHSA-8mrm-r7h3-c3hj · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2024)